Skip to content

Commit

Permalink
Improve release task.
Browse files Browse the repository at this point in the history
Version bump.
  • Loading branch information
yaph committed Aug 12, 2020
1 parent 94023f1 commit 1dc713a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ coverage: ## check code coverage quickly with the default Python
coverage run --source fscache -m pytest
coverage report -m

release: dist ## package and upload a release
twine upload dist/*

dist: clean ## builds source and wheel package
python setup.py sdist
python setup.py bdist_wheel
Expand All @@ -53,4 +50,10 @@ install-test:
pip install -r requirements_test.txt

install-all: install install-test
pip install -r requirements_dev.txt
pip install -r requirements_dev.txt

# Package and upload a release. Call example: make release version=0.2.0
release: dist
git tag -a $(version) -m 'Create version $(version)'
git push --tags
twine upload dist/*
2 changes: 1 addition & 1 deletion fscache/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

__author__ = """Ramiro Gómez"""
__email__ = 'code@ramiro.org'
__version__ = '0.1.0'
__version__ = '0.2.0'


# from .fscache import path, load, save, valid

0 comments on commit 1dc713a

Please sign in to comment.