Skip to content

Commit 41ab75e

Browse files
committed
Use the version instead of the branch to determine pre-release status
This will allow to manually create pre-release tags in case adamralph/minver#489 is not merged.
1 parent 37ad7b3 commit 41ab75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ jobs:
5555
release_name: Version ${{ needs.package.outputs.version }}
5656
body: ${{ github.event.head_commit.message }}
5757
draft: false
58-
prerelease: ${{ github.ref }} == 'refs/heads/prerelease'
58+
prerelease: ${{ contains(needs.package.outputs.version, '-') }}

0 commit comments

Comments
 (0)