Skip to content

Commit

Permalink
fix: correctly bump version on release
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Dec 19, 2023
1 parent 76a9db4 commit c1fa2e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Setup dependencies
run: |
npm install @semantic-release/git @semantic-release/exec --no-save
pip install toml-cli
- name: Create Release
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec", {
"prepareCmd": 'sed -ir "s/[0-9]*\.[0-9]*\.[0-9]*/${nextRelease.version}/" pyproject.toml'
"prepareCmd": 'toml set --toml-path pyproject.toml project.version ${nextRelease.version}'
}
],
[
Expand Down

0 comments on commit c1fa2e8

Please sign in to comment.