Skip to content

Commit

Permalink
Bump version for release :shipit:
Browse files Browse the repository at this point in the history
  • Loading branch information
gatkin committed Aug 11, 2019
1 parent 4d706db commit bd1f168
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,23 @@ package:

per-commit: lint coverage

per-release: publish-pypi publish-docs

publish-coverage:
coveralls

publish-docs:
mkdocs gh-deploy

publish-pypi: package
python3 -m twine upload --verbose --username ${PYPI_USERNAME} --password ${PYPI_PASSWORD} --repository-url https://upload.pypi.org/legacy/ dist/*

publish-pypi-test: package
python3 -m twine upload --verbose --username ${PYPI_TEST_USERNAME} --password ${PYPI_TEST_PASSWORD} --repository-url https://test.pypi.org/legacy/ dist/*

serve-docs:
mkdocs serve

test:
python -m pytest -vv

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
displayName: Install Dependencies
workingDirectory: '$(System.DefaultWorkingDirectory)'

- bash: 'python -m pipenv run make publish-pypi'
- bash: 'python -m pipenv run make per-release'
displayName: Publish Package to PyPi
workingDirectory: '$(System.DefaultWorkingDirectory)'
env:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/gatkin/nrdashboards",
version="0.0.2rc4",
version="0.1.0",
author="Greg Atkin",
author_email="greg.scott.atkin@gmail.com",
license="MIT",
Expand Down

0 comments on commit bd1f168

Please sign in to comment.