nix: Make postgrest-release work on remotes without .git suffix
This commit is contained in:
@@ -79,7 +79,7 @@ let
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
trap "echo Remote not found. Please push manually ..." ERR
|
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
|
trap "" ERR
|
||||||
|
|
||||||
if [[ "$current_branch" == "main" ]]; then
|
if [[ "$current_branch" == "main" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user