From: Oleg Broytman Date: Mon, 25 Jul 2016 19:05:10 +0000 (+0300) Subject: Add mk-git-alias X-Git-Tag: 3.0.0b2~7 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=8af8f4a902985ebf6fc8e7a5e0ecbb8851625b7e;p=m_lib.git Add mk-git-alias --- diff --git a/mk-git-alias b/mk-git-alias new file mode 100755 index 0000000..c34d294 --- /dev/null +++ b/mk-git-alias @@ -0,0 +1,4 @@ +#!/bin/sh + +exec git config --local alias.tag-with-version \ + "!exec git tag -s \`python setup.py --version\`"