Skip to content

Commit 718077b

Browse files
authored
Merge pull request #5 from aboutbits/automatic-prerelease-flagging
Automatic prerelase flagging
2 parents ecc4baf + 441db82 commit 718077b

2 files changed

Lines changed: 16 additions & 3 deletions

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:

.gitignore

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
node_modules
2-
dist
1+
# Basic
2+
.DS_Store
3+
4+
# IDE
5+
/.idea
6+
/.vscode
7+
8+
# Project
9+
/node_modules
10+
11+
# Build
12+
/dist
313
*.tsbuildinfo
14+
15+
# Cache
416
.eslintcache

0 commit comments

Comments
 (0)