ci: debugging3

This commit is contained in:
silver 2025-05-08 15:17:22 +01:00
parent 6f3686a47e
commit 3f7ba2bc7f
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -27,13 +27,15 @@ jobs:
branches=()
eval "$(git for-each-ref --shell --format='branches+=(%(refname))' refs/heads/)"
for branch in "${branches[@]}"; do
git switch $branch
# need to convert "refs/heads/main" to "main"
branch_local=$(echo "$branch" | awk -F'[\\\\/]' ' { print $3 }')
git switch $branch_local
git status
nix run .#update_plugin -- update geyser
# these will only succeed if there are changes
git add --all
git commit -m "Updated geyser for $branch"
git commit -m "Updated geyser for $branch_local"
git push
done
# - uses: https://github.com/stefanzweifel/git-auto-commit-action@v5