mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
♻️ Extract git push from brew_tap_update script
This commit is contained in:
parent
53319d911d
commit
52c96db818
2 changed files with 3 additions and 3 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -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})."
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue