Skip to content

Commit

Permalink
fix tag name CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KPreisner committed Mar 12, 2024
1 parent 4e848d7 commit b6fd6dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV

- name: Set version variable in module file
run: sed -i 's/v0.0.0/${GITHUB_REF#refs/tags/*}/g' src/sindri/__init__.py
run: sed -i 's/v0.0.0/${{ github.ref_name }}/g' src/sindri/__init__.py

- name: Install poetry
run: pip install poetry
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
# run: echo "VERSION=${GITHUB_REF#refs/tags/test-v}" >> $GITHUB_ENV

# - name: Set version variable in module file
# run: sed -i 's/v0.0.0/${GITHUB_REF#refs/tags/*}/g' src/sindri/__init__.py
# run: sed -i 's/v0.0.0/${{ github.ref_name }}/g' src/sindri/__init__.pyy

# - name: Install poetry
# run: pip install poetry
Expand Down

0 comments on commit b6fd6dc

Please sign in to comment.