在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):MichaelTaylor3D/gulp-cordova-bump开源软件地址(OpenSource Url):https://github.com/MichaelTaylor3D/gulp-cordova-bump开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):
Run this before you run cordova build This bumps and syncs config.xml, package.json and bower.json semantic versions Install$ npm install --save-dev gulp-cordova-bump Add the following to your gulpfilegulp.task('bump', function () {
require('gulp-cordova-bump').run({autofiles: true});
}); Usage$ gulp bump --patch
$ gulp bump --minor
$ gulp bump --major
$ gulp bump --prerelease
$ gulp bump --setversion=2.1.0 You can also specify the location of $ gulp bump --patch --packagejson=<package_json_file_path>
$ gulp bump --minor --bowerjson=<bower_json_file_path>
$ gulp bump --major --configxml=<config_xml_file_path>
e.g.
$ gulp bump --setversion=2.1.0 --packagejson="./package.json" --bowerjson="./bower.json" --configxml="./config.xml" Advanced usage
TestsMore sophisticated examples are in test/gulpfile.js
ParametersNow this package supports multiple files in different directories.
NotesThis tool accept both command line parameters and config parameters in gulp, can be mixed If patch types are mixed, the priority of bumping:
LicenseDonateENS: michaeltaylor3d.eth ETHER ADDRESS: 0x411b4F2dCFE158114d9396A30c625Bf7DefAD880 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论