]> git.phdru.name Git - m_lib.git/commitdiff
Add mk-git-alias
authorOleg Broytman <phd@phdru.name>
Mon, 25 Jul 2016 19:05:10 +0000 (22:05 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 25 Jul 2016 19:05:10 +0000 (22:05 +0300)
mk-git-alias [new file with mode: 0755]

diff --git a/mk-git-alias b/mk-git-alias
new file mode 100755 (executable)
index 0000000..c34d294
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+exec git config --local alias.tag-with-version \
+   "!exec git tag -s \`python setup.py --version\`"