diff options
-rwxr-xr-x | dot/local/bin/git-autotag | 5 |
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 | ||
2 | uid=$(gpg -K --with-colons | grep '^uid:' | cut -d: -f10) || exit | ||
3 | [ "$uid" ] || exit | ||
4 | |||
5 | exec git tag -u "$uid" "$@" | ||