Fix temporary branch creation

This commit is contained in:
Esteban Ordano 2015-01-22 12:24:31 -03:00
parent 4821521282
commit 2ce88f7aeb
1 changed files with 7 additions and 3 deletions

View File

@ -214,9 +214,13 @@ function startGulp(name, opts) {
gulp.task('release:checkout-releases', function(cb) {
var pjson = require('../../package.json');
git.checkout('releases/' + pjson.version + '-build', {
args: '-b'
}, cb);
git.branch('releases/' + pjson.version + '-build', {
args: ''
}, function() {
git.checkout('releases/' + pjson.version + '-build', {
args: ''
}, cb);
});
});
gulp.task('release:merge-master', function(cb) {