mirror of
https://github.com/mas-cli/mas
synced 2024-11-23 12:03:12 +00:00
🩹 Use tag name to calculate PRE_RELEASE value
The MAS_VERSION env var isn't made available to the pre_release step
This commit is contained in:
parent
d6978a2931
commit
401c82b28d
2 changed files with 5 additions and 5 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
|||
|
||||
- id: pre_release
|
||||
run: |
|
||||
echo "PRE_RELEASE=$(grep -q '-' <<<"${MAS_VERSION}" && echo 'true' || echo 'false')" >>"${GITHUB_OUTPUT}"
|
||||
echo "PRE_RELEASE=$(grep -q '-' <<<"${{ github.event.release.tag_name }}" && echo 'true' || echo 'false')" >>"${GITHUB_OUTPUT}"
|
||||
|
||||
pkg-installer:
|
||||
runs-on: macos-15
|
||||
|
|
|
@ -50,10 +50,10 @@ echo "==> 🧪 Updating mas homebrew-core formula to version tag ${version_tag}
|
|||
brew bump-formula-pr \
|
||||
--tag "${version_tag}" \
|
||||
--revision "${revision}" \
|
||||
--strict \
|
||||
--online \
|
||||
--verbose \
|
||||
--no-browse \
|
||||
--fork-org mas-cli \
|
||||
--no-browse \
|
||||
--online \
|
||||
--strict \
|
||||
--verbose \
|
||||
${dry_run} \
|
||||
mas
|
||||
|
|
Loading…
Reference in a new issue