forked from newfies-dialer/newfies-dialer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add script to update version and simplify the version number
- Loading branch information
Showing
4 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,7 @@ | |
# :copyright: (c) 2011-2014 by Arezqui Belaid. | ||
# :license: MPL 2.0, see COPYING for more details. | ||
|
||
VERSION = (2, 14, 10, "") | ||
__version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:]) | ||
__version__ = "2.15.0" | ||
__author__ = "Arezqui Belaid" | ||
__contact__ = "[email protected]" | ||
__homepage__ = "http://www.newfies-dialer.org" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# Usage: | ||
# ./update_version.sh 2.15.0 | ||
# | ||
|
||
git flow release start v$1 | ||
|
||
sed -i -e "s/__version__ = '.*'/__version__ = '$1'/g" newfies/newfies_dialer/__init__.py | ||
|
||
#rm -rf docs/html | ||
#python setup.py develop | ||
#make docs | ||
|
||
git commit -a -m "Update to version v$1" | ||
git flow release finish v$1 | ||
#python setup.py sdist upload -r pypi | ||
|
||
git push origin develop; git push origin master; git push --tags |