Skip to content

Commit

Permalink
automatic pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtani committed Feb 10, 2020
1 parent 0fcd420 commit 8f14b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
echo ${{ github.ref }}
sed -i "s/$VERSION$/${{ github.ref }}/g" setup.py
python setup.py sdist bdist_wheel
# twine upload dist/*
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='iap-auth',
version='0.0.2',
version='$VERSION$',
description='Perform authentication for Google Cloud Identity Aware Proxy from a service account',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 8f14b6c

Please sign in to comment.