4f74690292
Notes - We can no longer test for `unknown error in JSON-RPC`. `jm-ob-watcher` now simply outputs `Starting ob-watcher`. Tested working on https://nixbitcoin.org/orderbook. - Removed Agora IRC server since it is offline semi-permanently. Should probably also be removed upstream. - Includes patch for https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/1193
25 lines
826 B
Bash
Executable File
25 lines
826 B
Bash
Executable File
#! /usr/bin/env nix-shell
|
|
#! nix-shell -i bash -p git gnupg
|
|
set -euo pipefail
|
|
|
|
TMPDIR="$(mktemp -d -p /tmp)"
|
|
trap "rm -rf $TMPDIR" EXIT
|
|
cd $TMPDIR
|
|
|
|
echo "Fetching latest release"
|
|
git clone https://github.com/simplexum/python-bitcointx 2> /dev/null
|
|
cd python-bitcointx
|
|
latest=python-bitcointx-v1.1.3
|
|
echo "Latest release is ${latest}"
|
|
|
|
# GPG verification
|
|
export GNUPGHOME=$TMPDIR
|
|
echo "Fetching Dimitry Pethukov's Key"
|
|
gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys B17A35BBA187395784E2A6B32301D26BDC15160D 2> /dev/null
|
|
echo "Verifying latest release"
|
|
git verify-commit ${latest}
|
|
|
|
echo "tag: ${latest}"
|
|
# The prefix option is necessary because GitHub prefixes the archive contents in this format
|
|
echo "sha256: $(git archive --format tar.gz --prefix=python-bitcointx-"${latest}"/ ${latest} | sha256sum | cut -d\ -f1)"
|