From 4e9dd679ab2fd8ccf3df6829772bb8a8a43d61c6 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 13 Feb 2019 21:46:48 +0100 Subject: [PATCH] add contrib/sign_version --- contrib/sign_version | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 contrib/sign_version diff --git a/contrib/sign_version b/contrib/sign_version new file mode 100755 index 000000000..f3bd40f19 --- /dev/null +++ b/contrib/sign_version @@ -0,0 +1,4 @@ +#!/bin/bash +version=`git describe --tags --dirty --always` +sig=`./run_electrum -w $SIGNING_WALLET signmessage $SIGNING_ADDRESS $version` +echo "{ \"version\":\"$version\", \"signatures\":{ \"$addr\":\"$sig\"}}"