Merge pull request #16 from eordano/drop/releases

Fix temporary branch creation
This commit is contained in:
Manuel Aráoz 2015-01-22 12:27:26 -03:00
commit 0b8c8fe07c
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) {