Skip to content

Commit

Permalink
increase version and release
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim0407 committed Dec 29, 2019
1 parent 0b7481a commit 12fb1bd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
build: ci version
python setup.py sdist

name := pypdx-clausewitz
v := `python -c "from clausewitz import __version__; print(__version__)"`

version:
@echo "Current version: $(v). Do you confirm? (y/n)"
@read y_n && [ "$${y_n}" == "y" ]

lint:
flake8 .

test:
pytest --cov --cov-report term-missing:skip-covered

ci: lint test

upload: build
twine upload "dist/$(name)-$(v).tar.gz"
2 changes: 1 addition & 1 deletion clausewitz/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1'
__version__ = '0.2'

0 comments on commit 12fb1bd

Please sign in to comment.