]> git.phdru.name Git - git-scripts.git/commitdiff
Add add-pubkey-blob-tag
authorOleg Broytman <phd@phdru.name>
Sat, 26 Jul 2014 00:47:48 +0000 (04:47 +0400)
committerOleg Broytman <phd@phdru.name>
Sat, 26 Jul 2014 00:47:48 +0000 (04:47 +0400)
add-pubkey/add-pubkey-blob-tag [new file with mode: 0755]

diff --git a/add-pubkey/add-pubkey-blob-tag b/add-pubkey/add-pubkey-blob-tag
new file mode 100755 (executable)
index 0000000..ef91283
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+phd_public_key_hash="`gpg --export phd@phdru.name |
+                           git hash-object --stdin -w`" &&
+exec git tag phd-public-key-B6287B03 "$phd_public_key_hash"