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 6b02533 commit e6ce6be
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 @@ -19,6 +19,7 @@ jobs:
- name: Setup dependencies
run: |
npm install @semantic-release/git @semantic-release/exec --no-save
pip install toml-cli
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_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 tool.poetry.version ${nextRelease.version}'
}
],
[
Expand Down

0 comments on commit e6ce6be

Please sign in to comment.