nix: Fix postgrest-release on rel-branches pushing to the right branch

This commit is contained in:
Wolfgang Walther
2023-10-25 19:09:21 +02:00
parent 966f8df33f
commit 6920a88dc0
+1 -1
View File
@@ -111,7 +111,7 @@ let
remote="$(git remote -v | grep PostgREST/postgrest | grep push | cut -f1)"
trap "" ERR
push="git push --atomic $remote main v$new_version"
push="git push --atomic $remote $(git rev-parse --abbrev-ref HEAD) v$new_version"
echo "To push both the branch and the new tag, the following will be run:"
echo