Skip to content

Commit ecea250

Browse files
committed
add automatic prerelase flagging
1 parent b7e0c3a commit ecea250

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)