2025-04-19
This commit is contained in:
@@ -14,7 +14,7 @@ gum confirm "Push?" && git push origin $BRANCH
|
||||
|
||||
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\///')
|
||||
|
||||
if echo "$remote_branches" | grep -q "^beta$"; then
|
||||
@@ -29,4 +29,3 @@ if [ "${!#}" == "-pr" && CREATE_PR == 0 ]; then
|
||||
|
||||
gh pr create --base PR_BASE
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user