Skip to content

Commit 6d98d1e

Browse files
committed
[FEATURE] Reorder GitHub PR commands in publish-unlocked-package.sh for improved flow
1 parent 514070f commit 6d98d1e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/bash/publish-unlocked-package.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ runner_bot_token="$3"
1111
scripts/bash/config-github-bot.sh
1212

1313
sf package version create --package Moxygen --installation-key-bypass --wait 10
14-
echo $app_bot_token | gh auth login --with-token
1514
git checkout -b $branch_name
1615
git add sfdx-project.json
1716
git commit -m "[Automated] Created Package Version"
1817
git push --set-upstream origin $branch_name
19-
gh pr create --title "Publish Moxygen" --body "Automated PR to publish Moxygen" --base main
2018

21-
echo $runner_bot_token | gh auth login --with-token
22-
gh pr review $branch_name -a
2319
echo $app_bot_token | gh auth login --with-token
20+
gh pr create --title "Publish Moxygen" --body "Automated PR to publish Moxygen" --base main
21+
gh pr review $branch_name -a
2422
gh pr merge --squash --admin

0 commit comments

Comments
 (0)