diff --git a/changelog.md b/changelog.md index 73773fd..5a56927 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,6 @@ # pyautocv's change log +**Release 0.3.0** **pyautocv 0.2.2** - Extended tests and coverage diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 8f1b42e..b7c03c9 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -2,6 +2,7 @@ pyautocv's change log ===================== +**Release 0.3.0** **pyautocv 0.2.2** diff --git a/pyautocv/__init__.py b/pyautocv/__init__.py index 86197b0..2e7e81a 100644 --- a/pyautocv/__init__.py +++ b/pyautocv/__init__.py @@ -10,7 +10,7 @@ import sys sys.path.append(os.path.dirname(os.path.realpath(__file__))) __author__="Nelson Gonzabato" -__version__="0.2.0".encode("ascii","ignore").decode('ascii') +__version__="0.3.0".encode("ascii","ignore").decode('ascii') __all__=["segmentation"] diff --git a/pyautocv/version.py b/pyautocv/version.py index dc0129d..a62d21b 100644 --- a/pyautocv/version.py +++ b/pyautocv/version.py @@ -1 +1 @@ -__version__ = "0.2.1".encode("ascii","ignore").decode('ascii') +__version__ = "0.3.0".encode("ascii","ignore").decode('ascii') diff --git a/scripts/release.sh b/scripts/release.sh index 827439f..13f154e 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -5,8 +5,12 @@ check_status (){ case "$docs_answer" in [yY][eE][sS] | [yY] ) read -p "Have you updated the version number in all places?" version_answer case "$version_answer" in - [yY][eE][sS] | [yY] ) echo "Perfect. Removing dist and uploading to test.pypi"; - rm -r dist;python setup.py sdist;python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*;; + [yY][eE][sS] | [yY] ) echo "Perfect. Cleaning up and uploading to test.pypi" + if [ -d dist ] + then + rm -r dist; + fi; + python setup.py sdist;python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*;; [nN][oO] ) echo "Please update version number first";exit 1;; esac;; [nN][oO] | [nN] ) echo "Please update docs first";; diff --git a/setup.py b/setup.py index 6984be3..8b1cd71 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='pyautocv', - version="0.2.2".encode("ascii", "ignore").decode('ascii'), + version="0.3.0".encode("ascii", "ignore").decode('ascii'), description='(Semi) Automated Image Processing', url='http://www.github.com/Nelson-Gon/pyautocv', author='Nelson Gonzabato',