Update script after renaming master branch to main in repo

This commit is contained in:
Peter Cottle 2021-04-19 15:02:25 -06:00
parent 2df860e4dc
commit a9b07dd95e

View file

@ -158,7 +158,7 @@ var gitAdd = function(done) {
}; };
var gitDeployMergeMain = function(done) { var gitDeployMergeMain = function(done) {
execSync('git checkout gh-pages && git merge master -m "merge master"'); execSync('git checkout gh-pages && git merge main -m "merge main"');
done(); done();
}; };
@ -166,7 +166,7 @@ var gitDeployPushOrigin = function(done) {
execSync('git commit -am "rebuild for prod"; ' + execSync('git commit -am "rebuild for prod"; ' +
'git push origin gh-pages --force && ' + 'git push origin gh-pages --force && ' +
'git branch -f trunk gh-pages && ' + 'git branch -f trunk gh-pages && ' +
'git checkout master' 'git checkout main'
); );
done(); done();
}; };