大吃一惊的任务
Gulp的Semver管理任务
改编自
Gulpfile.js
var gulp = require ( 'gulp' ) ;
require ( 'gulp-semver-tasks' ) ( gulp ) ;
// or
require ( 'gulp-semver-tasks' ) ( gulp , { versionSource : [ './package.json' , './bower.json' ] } ) ;
# This will adjust semver on the configured files, then commit and tag the update.
gulp bump:patch
gulp bump:minor
gulp bump:major
评论0
最新资源