Skip to content

Commit ab4c7c3

Browse files
committed
chore(package): don't increment version in gulp package
other tasks require it to be updated before packaging so incrementing it again causes a second version bump. soon this will be all automated and the code can be moved to the appropriate step then.
1 parent 9a78d68 commit ab4c7c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gulpfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -486,11 +486,11 @@ gulp.task('publish', ['package'], function(done){
486486

487487
npmCmd.on('close', function() {
488488
// update package.json
489-
if (!err) {
490-
var packageJSON = require('./package.json');
491-
packageJSON.version = semver.inc(packageJSON.version, 'prerelease', 'alpha');
492-
fs.writeFileSync('package.json', JSON.stringify(packageJSON, null, 2));
493-
}
489+
// if (!err) {
490+
// var packageJSON = require('./package.json');
491+
// packageJSON.version = semver.inc(packageJSON.version, 'prerelease', 'alpha');
492+
// fs.writeFileSync('package.json', JSON.stringify(packageJSON, null, 2));
493+
// }
494494
done();
495495
});
496496

0 commit comments

Comments
 (0)