mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
new test-pr.sh script
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user