File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,16 +60,16 @@ jobs:
6060 if : steps.check_changes.outputs.has_changes == 'true'
6161 id : get_version
6262 run : |
63- echo "version=$(cz version -- project)" >> $GITHUB_OUTPUT
63+ echo "version=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))[' project']['version'])" )" >> $GITHUB_OUTPUT
6464
6565 - name : Create GitHub Release
6666 if : steps.check_changes.outputs.has_changes == 'true'
67- uses : actions/create -release@v1
67+ uses : softprops/action-gh -release@v1
6868 env :
6969 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7070 with :
7171 tag_name : v${{ steps.get_version.outputs.version }}
72- release_name : Release v${{ steps.get_version.outputs.version }}
72+ name : Release v${{ steps.get_version.outputs.version }}
7373 body_path : CHANGELOG.md
7474 draft : false
7575 prerelease : false
You can’t perform that action at this time.
0 commit comments