Skip to content

Commit

Permalink
Documents testing on Test PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
shahsmit14 committed Aug 17, 2020
1 parent c6030ef commit ec6500f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel twine
# Prod PyPI
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PROD_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
## Test PyPI
## Prod PyPI
# - name: Build and publish
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PROD_PASSWORD }}
# run: |
# python setup.py sdist bdist_wheel
# twine upload --repository testpypi dist/*
# twine upload dist/*

# Test PyPI
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_TEST_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload --repository testpypi dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name='luminaire',
version='0.1.0.dev4',
version='0.1.0.dev5',

license='Apache License 2.0',

Expand Down

0 comments on commit ec6500f

Please sign in to comment.