more scripting stuff

This commit is contained in:
2024-04-03 21:10:42 -04:00
parent a9ee267075
commit e6d05a5994
4 changed files with 34 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
git add -A
COMMIT_MSG=$(gum input --placeholder "Commit message...")
git commit -m "$COMMIT_MSG"
BRANCH=$(git name-rev --name-only HEAD)
gum confirm "Push?" && git push origin $BRANCH
if [ "${!#}" == "-pr" ]; then
gh pr create --base beta
fi