Skip to content

Commit 30f78cf

Browse files
committed
fix: replace v addition to tag creation with v addition in get_tag job
1 parent db46728 commit 30f78cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

{{cookiecutter.project_name}}/.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Get Current Version
3333
id: current_version
34-
run: echo "CURRENT_VERSION=$(uvx --from commitizen cz version -p)" >> $GITHUB_OUTPUT
34+
run: echo "CURRENT_VERSION=v$(uvx --from commitizen cz version -p)" >> $GITHUB_OUTPUT
3535

3636

3737
build_and_testpypi:
@@ -102,7 +102,7 @@ jobs:
102102

103103
- name: Create Tag
104104
run: |
105-
git tag v{{ "${{ needs.build_and_testpypi.outputs.tag }}" }}
105+
git tag {{ "${{ needs.build_and_testpypi.outputs.tag }}" }}
106106
git push origin {{ "${{ needs.build_and_testpypi.outputs.tag }}" }}
107107
108108
- name: Publish package distributions to PyPI

0 commit comments

Comments
 (0)