1
0
Fork 0

🔧 chore(workflow): remove conditional execution from version update

- remove `|| true` from git push command to ensure workflow fails on push errors
This commit is contained in:
pooneyy 2025-10-07 22:58:02 +08:00
parent a67be05173
commit 750d742009
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ jobs:
if [ -f "apps/$app_name/${old_version}.version" ]; then
new_version=$(cat "apps/$app_name/${old_version}.version")
rm -f "apps/$app_name/${old_version}.version"
git add "apps/$app_name/*" && git commit -m "🔧 chore($app_name): update app version from $old_version to $new_version" --no-verify && git push || true
git add "apps/$app_name/*" && git commit -m "🔧 chore($app_name): update app version from $old_version to $new_version" --no-verify && git push
gh api --silent --method POST -H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/statuses/$(git show -s --format=%H) \