Skip to content

Commit

Permalink
Update docs before release
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-Gon committed Jan 29, 2021
1 parent 76b7490 commit 7fe2e0f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pyautocv's change log

**Release 0.3.0**
**pyautocv 0.2.2**

- Extended tests and coverage
Expand Down
1 change: 1 addition & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pyautocv's change log
=====================

**Release 0.3.0**
**pyautocv 0.2.2**


Expand Down
2 changes: 1 addition & 1 deletion pyautocv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]


Expand Down
2 changes: 1 addition & 1 deletion pyautocv/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.1".encode("ascii","ignore").decode('ascii')
__version__ = "0.3.0".encode("ascii","ignore").decode('ascii')
8 changes: 6 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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";;
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -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',
Expand Down

0 comments on commit 7fe2e0f

Please sign in to comment.