Fix temporary branch creation
This commit is contained in:
parent
4821521282
commit
2ce88f7aeb
6
index.js
6
index.js
|
@ -214,10 +214,14 @@ function startGulp(name, opts) {
|
||||||
|
|
||||||
gulp.task('release:checkout-releases', function(cb) {
|
gulp.task('release:checkout-releases', function(cb) {
|
||||||
var pjson = require('../../package.json');
|
var pjson = require('../../package.json');
|
||||||
|
git.branch('releases/' + pjson.version + '-build', {
|
||||||
|
args: ''
|
||||||
|
}, function() {
|
||||||
git.checkout('releases/' + pjson.version + '-build', {
|
git.checkout('releases/' + pjson.version + '-build', {
|
||||||
args: '-b'
|
args: ''
|
||||||
}, cb);
|
}, cb);
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
gulp.task('release:merge-master', function(cb) {
|
gulp.task('release:merge-master', function(cb) {
|
||||||
git.merge('master', {
|
git.merge('master', {
|
||||||
|
|
Loading…
Reference in New Issue