Skip to content

Commit dd8042c

Browse files
committed
add automatic prerelase flagging
1 parent ecc4baf commit dd8042c

4 files changed

Lines changed: 19 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:

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)