Update main.yml

Update to 1.1.x versions.
This commit is contained in:
Yichen Zhou
2024-08-06 16:41:40 -07:00
committed by GitHub
parent 764db576f9
commit b79de5f680
+2 -1
View File
@@ -21,9 +21,10 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install poetry pip install poetry
# use the hardcoded version number for now. if this is merged to the main repo, you can uncomment these lines to automatically tag the version number with the github run number # use the hardcoded version number for now. if this is merged to the main repo, you can uncomment these lines to automatically tag the version number with the github run number
# e.g. poetry version 0.1.${{ github.run_number }}
- name: Set Version number - name: Set Version number
run: | run: |
poetry version 0.1.${{ github.run_number }} poetry version 1.1.0
- name: Build and Publish to PyPI - name: Build and Publish to PyPI
run: | run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}