🔧 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:
parent
a67be05173
commit
750d742009
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue