Skip to content

Commit 9ce6333

Browse files
author
Sergio Soto
committed
fix(.github/workflows/release.yml): fixes issues in release
1 parent 920ecec commit 9ce6333

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)