summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot/local/bin/git-autotag5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot/local/bin/git-autotag b/dot/local/bin/git-autotag
new file mode 100755
index 0000000..edf9474
--- /dev/null
+++ b/dot/local/bin/git-autotag
@@ -0,0 +1,5 @@
1#!/bin/sh
2uid=$(gpg -K --with-colons | grep '^uid:' | cut -d: -f10) || exit
3[ "$uid" ] || exit
4
5exec git tag -u "$uid" "$@"