Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oberbichler authored May 30, 2020
1 parent def9d0e commit 6cc1021
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pumpit --tag "${{ github.ref }}" --file setup.py --replace "EQLIB_VERSION = 'dev'" "EQLIB_VERSION = '${VERSION}'"
pumpit --tag "${{ github.ref }}" --file setup.py --replace "EQLIB_VERSION = 'dev'" "EQLIB_VERSION = '%VERSION%'"
python setup.py bdist_wheel
twine upload dist/*.whl
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
PATH=${PYBIN}:$PATH
pip install --upgrade pip
pip install -r requirements.txt
pumpit --tag "${{ github.ref }}" --file setup.py --replace "EQLIB_VERSION = 'dev'" "EQLIB_VERSION = '${VERSION}'"
pumpit --tag "${{ github.ref }}" --file setup.py --replace "EQLIB_VERSION = 'dev'" "EQLIB_VERSION = '%VERSION%'"
pip wheel . -w wheelhouse/
for whl in wheelhouse/eqlib-*.whl; do
auditwheel repair "$whl" --plat $PLAT -w wheelhouse/
Expand Down Expand Up @@ -94,6 +94,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pumpit --tag "${{ github.ref }}" --file setup.py --replace "EQLIB_VERSION = 'dev'" "EQLIB_VERSION = '${VERSION}'"
pumpit --tag "${{ github.ref }}" --file setup.py --replace "EQLIB_VERSION = 'dev'" "EQLIB_VERSION = '%VERSION%'"
python setup.py sdist
twine upload dist/*

0 comments on commit 6cc1021

Please sign in to comment.