mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-26 16:01:56 +08:00
test
This commit is contained in:
@@ -16,10 +16,8 @@ if [[ $BRANCH == feature/* || $BRANCH == fix/* ]]; then
|
||||
fi
|
||||
|
||||
# 只有在明确要求时才推送到 GitHub
|
||||
if [[ "$1" == "--with-github" ]]; then
|
||||
if echo "$REMOTES" | grep -q "github"; then
|
||||
echo "Pushing to GitHub..."
|
||||
git push github $BRANCH
|
||||
fi
|
||||
if echo "$REMOTES" | grep -q "github"; then
|
||||
echo "Pushing to GitHub..."
|
||||
git push github $BRANCH
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -14,8 +14,7 @@
|
||||
"dev": "lerna run dev --scope=core --stream",
|
||||
"stop": "kill-port --port 5000",
|
||||
"scan": "i18next-scanner --config i18next-scanner.config.js",
|
||||
"prepare": "husky",
|
||||
"push:all": "git push && git push --with-github"
|
||||
"prepare": "husky"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
Reference in New Issue
Block a user