This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch fix-python-release-workflow
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit f8dbda35c670a1a0427f63a7eb264e0ae71fd3b3
Author: bossenti <[email protected]>
AuthorDate: Mon Nov 27 12:54:13 2023 +0100

    fix: retrieve release version from GitHub tag
---
 .github/workflows/pypi-deployment.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/pypi-deployment.yml 
b/.github/workflows/pypi-deployment.yml
index 948d837e0..931dc683d 100644
--- a/.github/workflows/pypi-deployment.yml
+++ b/.github/workflows/pypi-deployment.yml
@@ -47,6 +47,7 @@ jobs:
       - name: Build package
         working-directory: ./streampipes-client-python
         run: |
+          poetry version $(echo ${{ github.ref_name }} | awk -F'/' '{print 
$2}')  # extract release version from tag name
           poetry build
           poetry run twine check --strict dist/*
 

Reply via email to