From e7998ced78e861024237693a340cc16f5baba940 Mon Sep 17 00:00:00 2001 From: kakwa Date: Thu, 6 Apr 2017 20:28:44 +0200 Subject: [PATCH] adding a simple tagging script --- goodies/tag.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 goodies/tag.sh diff --git a/goodies/tag.sh b/goodies/tag.sh new file mode 100755 index 0000000..8cb5ae7 --- /dev/null +++ b/goodies/tag.sh @@ -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"