From 8dae5237d3eecb535c72f63eccf3f9cdf274c7ec Mon Sep 17 00:00:00 2001 From: SomberNight Date: Mon, 7 Oct 2024 14:08:56 +0000 Subject: [PATCH] contrib/release_www.sh: minor clean-up --- contrib/release_www.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/release_www.sh b/contrib/release_www.sh index 8f8cf60fe..2281a38c9 100755 --- a/contrib/release_www.sh +++ b/contrib/release_www.sh @@ -43,7 +43,12 @@ info "updating www repo" ./contrib/make_download "$WWW_DIR" info "signing the version announcement file" sig=$(./run_electrum -o signmessage $ELECTRUM_SIGNING_ADDRESS $VERSION -w $ELECTRUM_SIGNING_WALLET) -echo "{ \"version\":\"$VERSION\", \"signatures\":{ \"$ELECTRUM_SIGNING_ADDRESS\":\"$sig\"}}" > "$WWW_DIR"/version +cat < "$WWW_DIR"/version +{ + "version": "$VERSION", + "signatures": {"$ELECTRUM_SIGNING_ADDRESS": "$sig"} +} +EOF # push changes to website repo pushd "$WWW_DIR"