From 7cae37eb5421d5742181848e38f5f0f2f10cf1ec Mon Sep 17 00:00:00 2001 From: stefanji <408776303@qq.com> Date: Sat, 28 Dec 2019 08:52:57 +0800 Subject: [PATCH] build: update release shell --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index c033766..e4b1fe4 100755 --- a/release.sh +++ b/release.sh @@ -12,6 +12,6 @@ git checkout -b releases/$1 # If this branch already exists, omit the -b flag rm -rf node_modules sed -i '/node_modules/d' .gitignore # Bash command that removes node_modules from .gitignore npm install --production -git add node_modules .gitignore +git add node_modules -f .gitignore git commit -m node_modules git push origin releases/$1 \ No newline at end of file