new test-pr.sh script

This commit is contained in:
Armin Briegel
2022-09-02 11:42:56 +02:00
parent 438191e4d3
commit e1fdda65fe

View File

@@ -11,8 +11,6 @@ label=${2:?"arg 2 is label"}
gh pr checkout $pr_num -b "pr/$pr_num"
if ! utils/assemble.sh $label; then
echo "something went wrong, stopping here"
else
@@ -20,8 +18,8 @@ else
echo "All good! merging..."
echo
# git checkout main
# git merge "pr/$pr_num" -m "new label: $label"
# git branch -d "pr/$pr_num"
# gh pr comment $pr_num --body 'Thank you!'
git checkout main
git merge "pr/$pr_num" -m "new label: $label"
git branch -d "pr/$pr_num"
gh pr comment $pr_num --body 'Thank you!'
fi