Release tasks renames (#3620)

* Revert package.json version

* Rename some tasks

* Added prerelease task
This commit is contained in:
Sam El-Husseini
2020-01-21 14:08:27 -08:00
committed by GitHub
parent b87d23b976
commit 30aa75506c
2 changed files with 4 additions and 15 deletions

View File

@@ -912,18 +912,6 @@ gulp.task('package', gulp.parallel(
'package-dts'
));
// The release task prepares Blockly for an npm release.
// It rebuilds the Blockly compressed files and updates the TypeScript
// typings, and then packages all the npm release files into the /dist directory
gulp.task('release', gulp.series(['build', 'typings', function(cb) {
// Clean directory if exists
if (fs.existsSync(packageDistribution)) {
rimraf.sync(packageDistribution);
}
fs.mkdirSync(packageDistribution);
cb();
}, 'package']));
// The default task builds Blockly.
gulp.task('default', gulp.series(['build']));
@@ -965,7 +953,7 @@ function getRCBranchName() {
};
// Recompile and push to origin.
gulp.task('recompile', gulp.series([
gulp.task('git-recompile', gulp.series([
'git-sync-develop',
function(done) {
var branchName = getRebuildBranchName();