Skip to content

Commit

Permalink
🩹 Add pre_release output to start step
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Nov 3, 2024
1 parent a976581 commit 4405807
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 4405807

Please sign in to comment.