Skip to content

Commit 5feec9e

Browse files
authored
chore: add git actions to handle releases (#6)
1 parent 85ec4d6 commit 5feec9e

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.github/workflows/pre-release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Pre-Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*.*.*-beta**'
6+
- 'v*.*.*-rc**'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
name: Pre-Release Creation
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: ncipollo/release-action@v1
17+
with:
18+
prerelease: true
19+
bodyFile: "CHANGELOG.md"

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
name: Release Creation
13+
steps:
14+
- uses: actions/checkout@v1
15+
- uses: ncipollo/release-action@v1
16+
with:
17+
bodyFile: "CHANGELOG.md"
18+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)