Skip to content

Commit 1f41939

Browse files
authored
fix: upgrading semantic-release (#391)
1 parent c840a9b commit 1f41939

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/main.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,9 @@ jobs:
5252
- name: Check build health
5353
run: yarn build
5454
- name: 🚀 Release
55-
uses: cycjimmy/semantic-release-action@v2
55+
uses: cycjimmy/semantic-release-action@v4
5656
with:
57-
semantic_version: 17
58-
extra_plugins: |
59-
@semantic-release/git
60-
branches: |
61-
[
62-
'main',
63-
{name: 'beta', prerelease: true},
64-
{name: 'alpha', prerelease: true}
65-
]
57+
semantic_version: 24
6658
env:
6759
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6860
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

release.config.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
branches: ['main', { name: 'beta', prerelease: true }, { name: 'alpha', prerelease: true }],
23
plugins: [
34
'@semantic-release/commit-analyzer',
45
'@semantic-release/release-notes-generator',
@@ -9,12 +10,5 @@ module.exports = {
910
},
1011
],
1112
'@semantic-release/github',
12-
[
13-
'@semantic-release/git',
14-
{
15-
assets: ['package.json'],
16-
message: 'chore(release): ${nextRelease.version}',
17-
},
18-
],
1913
],
2014
}

0 commit comments

Comments
 (0)