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
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
recursive-include eb-prune
recursive-include eb-prune *.py
exclude .pre-commit-config.yaml
include README.rst
include VERSION

VERSION

0 → 100644
+1 −0
Original line number Diff line number Diff line
0.2.1
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages

setup(
    name='eb-prune',
    version='0.2.0',
    version=open('VERSION', 'r').read(),
    description='Pruning of Elastic Beanstalk versions.',
    long_description=open('README.rst', 'r').read(),
    url='https://www.shore.co.il/git/eb-prune',
+12 −0
Original line number Diff line number Diff line
@@ -13,3 +13,15 @@ commands =
    check-manifest --ignore tox.ini,tests*
    python setup.py check -m -r -s
    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