File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ jobs:
2929 git fetch origin main
3030 git checkout main
3131
32- - name : Update version from tag
33- run : |
34- TAG_NAME=${GITHUB_REF#refs/tags/}
35- python scripts/set_version.py $TAG_NAME
32+ # - name: Update version from tag
33+ # run: |
34+ # TAG_NAME=${GITHUB_REF#refs/tags/}
35+ # python scripts/set_version.py $TAG_NAME
3636
3737 - name : Commit version bump
3838 run : |
@@ -80,16 +80,16 @@ jobs:
8080 pip install --index-url https://test.pypi.org/simple/ --no-deps pytest-htmlx
8181 python -c "import pytest_htmlx; print('Installed version:', pytest_htmlx.__version__)"
8282
83- - name : Publish to PyPI
84- if : startsWith(github.ref, 'refs/tags/v') # only run on tags
85- env :
86- PYPI_API_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
87- run : |
88- if [ -z "$PYPI_API_TOKEN" ]; then
89- echo "PYPI_API_TOKEN not set"; exit 1
90- fi
91- twine upload \
92- -u __token__ \
93- -p "$PYPI_API_TOKEN" \
94- dist/*
83+ # - name: Publish to PyPI
84+ # if: startsWith(github.ref, 'refs/tags/v') # only run on tags
85+ # env:
86+ # PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
87+ # run: |
88+ # if [ -z "$PYPI_API_TOKEN" ]; then
89+ # echo "PYPI_API_TOKEN not set"; exit 1
90+ # fi
91+ # twine upload \
92+ # -u __token__ \
93+ # -p "$PYPI_API_TOKEN" \
94+ # dist/*
9595
You can’t perform that action at this time.
0 commit comments