Skip to content

Commit 57113a9

Browse files
committed
Improve promotion script
1 parent 21751bc commit 57113a9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hack/rhtap-promote

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ function createPR() {
8181
return
8282
fi
8383
if grep -q github.com <<< "$REPO"; then
84-
git push --set-upstream origin $BRANCH
85-
gh repo set-default $MY_GITHUB_USER/$(basename $REPO .git)
86-
gh pr create --title "$BRANCH" --body "$TITLE"
84+
git push --set-upstream origin $BRANCH
85+
gh pr create --title "$BRANCH" --body "$TITLE" -R $REPO
8786
return
8887
fi
8988
}

0 commit comments

Comments
 (0)