Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e36183c

Browse files
author
Christopher Kolstad
authored
Add prerelease argument to create-releas (#107)
This tags alphas and betas as prerelease so our Latest version does not display beta's as latest versions
1 parent ec11f56 commit e36183c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release_changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ jobs:
2222
tag_name: ${{ github.ref }}
2323
release_name: ${{ github.ref }}
2424
body: ${{ steps.github_release.outputs.changelog }}
25+
prerelease: ${{ contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}
2526
env:
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)