Skip to content

Commit

Permalink
fix: upgrading semantic-release (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier authored Dec 12, 2024
1 parent c840a9b commit 1f41939
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 17 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,9 @@ jobs:
- name: Check build health
run: yarn build
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 17
extra_plugins: |
@semantic-release/git
branches: |
[
'main',
{name: 'beta', prerelease: true},
{name: 'alpha', prerelease: true}
]
semantic_version: 24
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 1 addition & 7 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
branches: ['main', { name: 'beta', prerelease: true }, { name: 'alpha', prerelease: true }],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand All @@ -9,12 +10,5 @@ module.exports = {
},
],
'@semantic-release/github',
[
'@semantic-release/git',
{
assets: ['package.json'],
message: 'chore(release): ${nextRelease.version}',
},
],
],
}

0 comments on commit 1f41939

Please sign in to comment.