Skip to content

Commit

Permalink
ci: force version during build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisBRENON committed May 15, 2024
1 parent 325b269 commit cef4fc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
runs-on: ubuntu-latest
needs: test
if: startsWith(github.event.ref, 'refs/tags/v')
env:
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.ref_name }}
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
Expand Down

0 comments on commit cef4fc7

Please sign in to comment.