Skip to content

Commit bf292e5

Browse files
committed
workflow dispatch added
1 parent 62f12e7 commit bf292e5

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/release_package.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)