Commit 1fb2883a authored by 吴军's avatar 吴军

修改比较commit的顺序

parent 93fd130a
......@@ -19,7 +19,7 @@ echo -e "\n${GREEN_BOLD}本次Commit号: ${COLOR_END}" $CI_COMMIT_SHA
echo -e "${GREEN_BOLD}上次Commit号: ${COLOR_END}" $CI_COMMIT_BEFORE_SHA
count=`git diff --name-status $CI_COMMIT_SHA $CI_COMMIT_BEFORE_SHA | grep '\.js$' | egrep -v '^D' | awk '{print $2}'`
count=`git diff --name-status $CI_COMMIT_BEFORE_SHA $CI_COMMIT_SHA | grep '\.js$' | egrep -v '^D' | awk '{print $2}'`
if [[ -n "$count" ]]; then
npm install @vue/babel-preset-app --registry https://hub.zmcms.cn/repository/npm-group/
echo -e "\n${PURPLE}================== 开始检测JS文件==================${COLOR_END}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment