build: update release shell

This commit is contained in:
stefanji 2019-12-28 08:52:57 +08:00
parent d44577d2eb
commit 7cae37eb54

View file

@ -12,6 +12,6 @@ git checkout -b releases/$1 # If this branch already exists, omit the -b flag
rm -rf node_modules rm -rf node_modules
sed -i '/node_modules/d' .gitignore # Bash command that removes node_modules from .gitignore sed -i '/node_modules/d' .gitignore # Bash command that removes node_modules from .gitignore
npm install --production npm install --production
git add node_modules .gitignore git add node_modules -f .gitignore
git commit -m node_modules git commit -m node_modules
git push origin releases/$1 git push origin releases/$1