Adding scripts/version_bump.sh

1 view
Skip to first unread message

BJ Dierkes

unread,
Jul 8, 2010, 8:54:57 PM7/8/10
to hollan...@googlegroups.com
Added a quick script to making version changes easier... Its editing all setup.py's and doc/source/conf.py for versions. Is this version hiding anywhere else?

USAGE:

$ bash scripts/version_bump.sh
Must pass a version number in form of 'x.y.z'

$ bash scripts/version_bump.sh 1.0.3

$ find ./ -iname "setup.py" -exec grep 'version =' {} \;
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'
version = '1.0.3'

---
BJ Dierkes
Linux Systems Engineer IV / [RH]acker
Infrastructure Services [Development]
Rackspace Hosting

Reply all
Reply to author
Forward
0 new messages