Skip to content
Snippets Groups Projects
Commit f32d325a authored by nimrod's avatar nimrod
Browse files

- Added Tox release environment.

- Manage versions via the VERSION file.
- Bump version to 0.2.1.
parent 2a10db68
No related branches found
No related tags found
No related merge requests found
recursive-include eb-prune recursive-include eb-prune *.py
exclude .pre-commit-config.yaml exclude .pre-commit-config.yaml
include README.rst
include VERSION
0.2.1
\ No newline at end of file
...@@ -3,7 +3,7 @@ from setuptools import setup, find_packages ...@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup( setup(
name='eb-prune', name='eb-prune',
version='0.2.0', version=open('VERSION', 'r').read(),
description='Pruning of Elastic Beanstalk versions.', description='Pruning of Elastic Beanstalk versions.',
long_description=open('README.rst', 'r').read(), long_description=open('README.rst', 'r').read(),
url='https://www.shore.co.il/git/eb-prune', url='https://www.shore.co.il/git/eb-prune',
......
...@@ -13,3 +13,15 @@ commands = ...@@ -13,3 +13,15 @@ commands =
check-manifest --ignore tox.ini,tests* check-manifest --ignore tox.ini,tests*
python setup.py check -m -r -s python setup.py check -m -r -s
flake8 . flake8 .
[testenv:release]
basepython = python
whitelist_externals =
sh
deps =
twine
wheel
commands =
sh -c 'git tag -f "$(cat VERSION)"'
python setup.py bdist_wheel
# twine upload --skip-existing dist/*.whl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment