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" gh pr checkout $pr_num -b "pr/$pr_num"
if ! utils/assemble.sh $label; then if ! utils/assemble.sh $label; then
echo "something went wrong, stopping here" echo "something went wrong, stopping here"
else else
@@ -20,8 +18,8 @@ else
echo "All good! merging..." echo "All good! merging..."
echo echo
# git checkout main git checkout main
# git merge "pr/$pr_num" -m "new label: $label" git merge "pr/$pr_num" -m "new label: $label"
# git branch -d "pr/$pr_num" git branch -d "pr/$pr_num"
# gh pr comment $pr_num --body 'Thank you!' gh pr comment $pr_num --body 'Thank you!'
fi fi