♻️ Extract git push from brew_tap_update script

This commit is contained in:
Ben Chatelain 2024-07-30 21:56:07 -06:00
parent 53319d911d
commit 52c96db818
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -158,14 +158,16 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
DRY_RUN: ${{ needs.start.outputs.dry_run }}
RELEASE_BRANCH: ${{ needs.start.outputs.release_branch }}
MAS_VERSION: ${{ needs.start.outputs.mas_version }}
run: |
cd "$(brew --repository mas-cli/tap)"
git push --set-upstream origin "${RELEASE_BRANCH}"
gh pr create \
--assignee phatblat \
--base main \
--draft \
--head "${branch_name}" \
--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

@ -89,8 +89,6 @@ $echo git add \
$echo git commit --message="🔖 Version ${MAS_VERSION}"
$echo git push --set-upstream origin "${branch_name}"
popd
# Build in mas project