Skip to content

Commit

Permalink
Add separate preRelease output from release_variable step because…
Browse files Browse the repository at this point in the history
… it can't be negated later
  • Loading branch information
mksanger committed Jan 19, 2024
1 parent ea0e78d commit 2328f7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
outputs:
isRelease: ${{ github.sha == env.MASTER_SHA }}
preRelease: ${{ !(github.sha == env.MASTER_SHA) }}
releaseVersion: ${{ env.RELEASE_VERSION }}

deploy:
Expand Down Expand Up @@ -156,4 +157,4 @@ jobs:
generateReleaseNotes: true
env:
NAME: ${{ needs.release_variables.outputs.releaseVersion }}
PRERELEASE: ${{ !needs.release_variables.outputs.isRelease }}
PRERELEASE: ${{ needs.release_variables.outputs.preRelease }}

0 comments on commit 2328f7f

Please sign in to comment.