mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
🩹 Add pre_release output to start step
This commit is contained in:
parent
a976581515
commit
4405807010
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
|||
outputs:
|
||||
dry_run: ${{ steps.dry_run.outputs.dry_run }}
|
||||
mas_version: ${{ steps.mas_version.outputs.mas_version }}
|
||||
pre_release: ${{ steps.pre_release.outputs.pre_release }}
|
||||
release_branch: ${{ steps.release_branch.outputs.release_branch }}
|
||||
steps:
|
||||
# Logs event details and sets `DRY_RUN` env var
|
||||
|
@ -41,7 +42,7 @@ jobs:
|
|||
|
||||
- id: pre_release
|
||||
run: |
|
||||
echo "PRE_RELEASE=$(grep -q '-' <<<"$MAS_VERSION" && echo 'true' || echo 'false')" >>"$GITHUB_OUTPUT"
|
||||
echo "PRE_RELEASE=$(grep -q '-' <<<$MAS_VERSION && echo 'true' || echo 'false')" >>"$GITHUB_OUTPUT"
|
||||
|
||||
- id: release_branch
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue