Created
March 24, 2025 14:20
-
-
Save Na0ki/f7f84a8baaa77f34d34be3ef07877bc0 to your computer and use it in GitHub Desktop.
sprint/xxxブランチからdevelopブランチへPRを作るやつ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| SPRINT_NUM="$(git branch --remote --list "origin/sprint/*" | awk -F '/' '{print $3}' | sort -n -r | head -1)" | |
| echo "sprint/$SPRINT_NUM" | |
| gh pr create --base develop --head "sprint/$SPRINT_NUM" --title "sprint/$SPRINT_NUM -> main" --body "検証反映" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment