Fix release process

The documented release process is to do npm run recompile, merge the
resulting branch to develop, and then do npm run relase, which does
not do another build.

This process should probably be changed, but for the moment ensure
that npm run recompile (as well as npm run package:beta) runs
buildTasks.checkinBuilt after each .build to preserve the old procedure.
This commit is contained in:
Christopher Allen
2021-06-23 13:11:29 +01:00
parent e8eb30fa8b
commit c521fa9bfa
3 changed files with 15 additions and 1 deletions

View File

@@ -103,7 +103,9 @@ const updateGithubPages = gulp.series(
execSync('git reset --hard upstream/develop', { stdio: 'inherit' });
done();
},
buildTasks.cleanBuildDir,
buildTasks.build,
buildTasks.checkinBuilt,
function(done) {
execSync('git commit -am "Rebuild"', { stdio: 'inherit' });
execSync('git push ' + upstream_url + ' gh-pages --force', { stdio: 'inherit' });