Skip to content

Commit d06d2b8

Browse files
committed
fix: use semantic-release-action
1 parent c9d93c4 commit d06d2b8

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

.github/workflows/release.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ name: Release
77

88
jobs:
99
release:
10-
name: Release
11-
10+
name: Semantic Release
1211
runs-on: ubuntu-latest
13-
timeout-minutes: 10
14-
1512
steps:
1613
- name: Checkout
1714
uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0
2015

21-
- uses: paulhatch/semantic-version@v5.3.0
16+
- name: Execute Semantic Release
17+
id: semantic
18+
uses: cycjimmy/semantic-release-action@v3
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"branches": [
3+
"+([0-9])?(.{+([0-9]),x}).x",
4+
"master"
5+
],
6+
"plugins": [
7+
"@semantic-release/commit-analyzer",
8+
"@semantic-release/release-notes-generator",
9+
"@semantic-release/github"
10+
]
11+
}

0 commit comments

Comments
 (0)