Skip to content

Commit

Permalink
fix: update release
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Feb 4, 2024
1 parent 9bbf1e7 commit b56b42a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ jobs:
run: |
sed -i "s/^version[ ]*=.*/version = '${NEXT_VERSION}'/" pyproject.toml
- name: Commit version change
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: Upgrade to v${{ env.NEXT_VERSION }} [skip ci]'
file_pattern: pyproject.toml

- name: Publish to TestPyPi
if: ${{ github.ref_name == 'alpha' }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@semantic-release/exec",
{
"verifyReleaseCmd": "echo \"NEXT_VERSION=${nextRelease.version}\" >> $GITHUB_ENV",
"successCmd": "echo RELEASE_NOTES=\"${nextRelease.notes}\" >> $GITHUB_ENV"
"successCmd": "echo \"RELEASE_NOTES='${nextRelease.notes}'\" >> $GITHUB_ENV"
}
]
]
Expand Down

0 comments on commit b56b42a

Please sign in to comment.