nix: Make postgrest-release work on remotes without .git suffix

This commit is contained in:
Wolfgang Walther
2024-06-05 21:32:41 +02:00
parent 4beac10d3d
commit a2d00e305a
+1 -1
View File
@@ -79,7 +79,7 @@ let
fi
trap "echo Remote not found. Please push manually ..." ERR
remote="$(git remote -v | grep 'PostgREST/postgrest\.git' | grep push | cut -f1)"
remote="$(git remote -v | grep 'PostgREST/postgrest' | grep push | cut -f1)"
trap "" ERR
if [[ "$current_branch" == "main" ]]; then