👷🏻‍♀️ Push tap branch and add details to PR

This commit is contained in:
Ben Chatelain 2024-07-30 21:34:30 -06:00
parent 20f2d3f0e2
commit 94258eaf64
No known key found for this signature in database
2 changed files with 8 additions and 9 deletions

View file

@ -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})."

View file

@ -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