mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
🔧 Add PRE_RELEASE var to release workflow
This commit is contained in:
parent
58f9fbcc8c
commit
2ccdb03486
1 changed files with 4 additions and 0 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -39,6 +39,10 @@ jobs:
|
|||
run: |
|
||||
echo "MAS_VERSION=${{ github.event.release.tag_name }}" >>"$GITHUB_OUTPUT"
|
||||
|
||||
- id: pre_release
|
||||
run: |
|
||||
echo "PRE_RELEASE=$(grep -q '-' <<<"$MAS_VERSION" && echo 'true' || echo 'false')" >>"$GITHUB_OUTPUT"
|
||||
|
||||
- id: release_branch
|
||||
run: |
|
||||
echo "RELEASE_BRANCH=releases/release-${{ github.event.release.tag_name }}" >>"$GITHUB_OUTPUT"
|
||||
|
|
Loading…
Reference in a new issue