2025-04-19

This commit is contained in:
2025-04-19 10:00:00 -04:00
parent 313a80438b
commit be5dcc7460
+1 -2
View File
@@ -14,7 +14,7 @@ gum confirm "Push?" && git push origin $BRANCH
CREATE_PR=$(gum confirm "Create PR?") CREATE_PR=$(gum confirm "Create PR?")
if [ "${!#}" == "-pr" && CREATE_PR == 0 ]; then if [[ "${!#}" == "-pr" && CREATE_PR -eq 0 ]]; then
REMOTE_BRANCHES=$(git branch -r | grep -v '\//' | sed 's/origin\///') REMOTE_BRANCHES=$(git branch -r | grep -v '\//' | sed 's/origin\///')
if echo "$remote_branches" | grep -q "^beta$"; then if echo "$remote_branches" | grep -q "^beta$"; then
@@ -29,4 +29,3 @@ if [ "${!#}" == "-pr" && CREATE_PR == 0 ]; then
gh pr create --base PR_BASE gh pr create --base PR_BASE
fi fi