From 7dfd3c4f7f3a59a44eadb840083d6fa5ea0256da Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 30 Jun 2018 14:09:33 +0200 Subject: [PATCH] fix hardcoded version number --- contrib/build-wine/unsign.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/build-wine/unsign.sh b/contrib/build-wine/unsign.sh index c61259911..b6bbe8ef9 100755 --- a/contrib/build-wine/unsign.sh +++ b/contrib/build-wine/unsign.sh @@ -15,9 +15,10 @@ rm -rf signed mkdir -p signed >/dev/null 2>&1 mkdir -p signed/stripped >/dev/null 2>&1 -version=3.2.0 +version=`python3 -c "import electrum; print(electrum.version.ELECTRUM_VERSION)"` + +echo "Found $(ls dist/*.exe | wc -w) files to verify." -echo "Found $(ls *.exe | wc -w) files to verify." for mine in $(ls dist/*.exe); do f=$(basename $mine) wget https://download.electrum.org/$version/$f -O signed/$f