adding a simple tagging script

This commit is contained in:
kakwa 2017-04-06 20:28:44 +02:00
parent 8270988ed4
commit e7998ced78
1 changed files with 8 additions and 0 deletions

8
goodies/tag.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
cd `dirname $0`/../
version=`sed -e "s/version\ * = \ *'\(.*\)'.*/\1/;tx;d;:x" ./ldapcherry/__init__.py`
git tag "$version"
git push origin "$version"