Skip to content

Commit ead7ee9

Browse files
committed
Fix release version tagging as well for PyPI
Signed-off-by: Tobias Wolf <[email protected]>
1 parent ffa80bf commit ead7ee9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/on-release-publish.yml

+5
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
steps:
5757
- name: Checkout commit
5858
uses: actions/checkout@v3
59+
- name: Get the Git tag name
60+
id: get-tag-name
61+
run: echo "tag-name=${GITHUB_REF/refs\/tags\/v/}"
5962
- name: Set up Python
6063
id: setup-python
6164
uses: actions/setup-python@v3
@@ -64,6 +67,8 @@ jobs:
6467
pip install -r ./requirements.txt
6568
pip install build
6669
- name: Execute build
70+
env:
71+
ROOKIFY_VERSION: ${{ steps.get-tag-name.outputs.tag-name }}
6772
run: |-
6873
python -m build .
6974
- name: Publish package

0 commit comments

Comments
 (0)