Skip to content

Commit b24fd15

Browse files
authored
Merge pull request #5 from aboutbits/automatic-prerelease-flagging
Automatic prerelase flagging
2 parents 7f25f4c + c7ad4e9 commit b24fd15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
owner: context.repo.owner,
2222
repo: context.repo.repo,
2323
tag_name: '${{ github.ref }}',
24-
name: 'Release ${{ github.ref_name }}'
24+
name: 'Release ${{ github.ref_name }}',
25+
prerelease: '${{ github.ref_name }}'.includes('-')
2526
})
2627
- uses: aboutbits/github-actions-node/setup-and-install@v2
2728
with:

0 commit comments

Comments
 (0)