Skip to content

Commit

Permalink
ci: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tutkli committed Feb 23, 2024
1 parent e189f1b commit 2ff44c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npx nx build ngx-sonner
npx semantic-release
6 changes: 6 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ module.exports = {
"tarballDir": "dist"
}
],
[
'@semantic-release/exec',
{
prepareCmd: `VERSION=\${nextRelease.version} npx -p replace-json-property rjp ./package.json version \${nextRelease.version}`,
},
],
[
'@semantic-release/git',
{
Expand Down

0 comments on commit 2ff44c4

Please sign in to comment.