Skip to content

Commit

Permalink
ci: fix semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasrosa committed Mar 10, 2024
1 parent 17321d8 commit 061acfe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:

jobs:
release:
permissions:
contents: write
packages: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
outputs:
VERSION: ${{ steps.run-release.outputs.VERSION }}
Expand Down
6 changes: 5 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"semantic-release-github",
["@semantic-release/npm", {
"npmPublish": false
}],
["@semantic-release/git", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "Bump version: ${nextRelease.version} \n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"successComment": false,
"failComment": false
}
],
["@semantic-release/exec", {
"prepareCmd": "echo '::set-output name=VERSION::${nextRelease.version}'"
}]
Expand Down

0 comments on commit 061acfe

Please sign in to comment.