github run number for version

This commit is contained in:
Justin Guese
2024-05-24 13:39:22 +02:00
parent 6536799495
commit e402b93272
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
pip install poetry
- name: Set Version number
run: |
poetry version ${{ github.run_number }}
poetry version 0.0.${{ github.run_number }}
- name: Build and Publish to PyPI
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}