From 94258eaf64e6904605e6713f45025fed8a69cc75 Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Tue, 30 Jul 2024 21:34:30 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=F0=9F=8F=BB=E2=80=8D=E2=99=80?= =?UTF-8?q?=EF=B8=8F=20Push=20tap=20branch=20and=20add=20details=20to=20PR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 ++ script/brew_tap_update | 15 ++++++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 365bba6c8..688f07f0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,9 @@ jobs: RELEASE_BRANCH: ${{ needs.start.outputs.release_branch }} run: | gh pr create \ + --assignee phatblat \ --base main \ + --draft \ --head "${RELEASE_BRANCH}" \ --title "🔖 Version ${MAS_VERSION}" \ --body "This PR contains the changes from releasing version [${MAS_VERSION}](https://github.com/mas-cli/mas/releases/tag/${MAS_VERSION})." diff --git a/script/brew_tap_update b/script/brew_tap_update index 8445d2d9b..1792e5a06 100755 --- a/script/brew_tap_update +++ b/script/brew_tap_update @@ -65,14 +65,6 @@ fi echo "REVISION: ${REVISION}" -################################################################################ -# -# Update Version -# - -branch_name="releases/release-${MAS_VERSION}" -$echo git switch "${branch_name}" - ################################################################################ # # Create branch on mas-cli/homebrew-tap @@ -97,6 +89,8 @@ $echo git add \ $echo git commit --message="🔖 Version ${MAS_VERSION}" +$echo git push --set-upstream origin "${branch_name}" + popd # Build in mas project @@ -113,6 +107,9 @@ $echo gh pr create \ --assignee phatblat \ --base main \ --draft \ - --fill + --head "${branch_name}" \ + --title "🔖 Version ${MAS_VERSION}" \ + --body "This PR contains the changes from releasing version [${MAS_VERSION}](https://github.com/mas-cli/mas/releases/tag/${MAS_VERSION})." + popd