mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Release tasks renames (#3620)
* Revert package.json version * Rename some tasks * Added prerelease task
This commit is contained in:
14
gulpfile.js
14
gulpfile.js
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user