Skip to content

Commit

Permalink
Bump HWI
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed Jan 15, 2023
1 parent 2ef863b commit 2659eb0
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 12 deletions.
25 changes: 23 additions & 2 deletions BTCPayServer.Hwi/Deployment/HwiVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,33 @@ public class HwiVersions
},
Mac = new HwiDownloadInfo()
{
Link = "https://github.com/Groestlcoin/HWI/releases/download/2_0_1/hwi-2_0_1-mac-amd64.tar.gz",
Link = "https://github.com/Groestlcoin/HWI/releases/download/2.0.1/hwi-2.0.1-mac-amd64.tar.gz",
Hash = "d6aba09e984c5e927a758f7ff2ac04795c8b3489090e6eaef3fce1e00f7473f8",
Extractor = new TarExtractor()
}
};
public static HwiVersion Latest => v2_0_1;
public static HwiVersion v2_0_2 { get; } = new HwiVersion()
{
Windows = new HwiDownloadInfo()
{
Link = "https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-windows-amd64.zip",
Hash = "89374b658b9318c326cfe17aa4cc047f9ea4742e5b97028dde3124a9381626aa",
Extractor = new ZipExtractor()
},
Linux = new HwiDownloadInfo()
{
Link = "https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-linux-amd64.tar.gz",
Hash = "7a4673e085d5b66ceccf51afb8fafa37ccb21e1c4bb19ae62479f05720422405",
Extractor = new TarExtractor()
},
Mac = new HwiDownloadInfo()
{
Link = "https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-mac-amd64.tar.gz",
Hash = "860d58fe1db46e90f4cafd5723cc8b2345afbbea26b943ed622da48b12a4d850",
Extractor = new TarExtractor()
}
};
public static HwiVersion Latest => v2_0_2;
}

public class HwiVersion
Expand Down
2 changes: 1 addition & 1 deletion BTCPayServer.Vault/Version.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>2.0.1</Version>
<Version>2.0.2</Version>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Build/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Changelog

* Update HWI to 2.0.1
* Update HWI to 2.0.2

You may want to follow the [documented](https://github.com/Groestlcoin/GRSPayServer.Vault/blob/master/docs/HowToVerify.md) process to verify that the binaries are built by Jackie.
4 changes: 2 additions & 2 deletions Build/debian-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ RUN apt-get update
RUN apt-get install -y --no-install-recommends imagemagick
###

RUN wget -qO /tmp/hwi.tar.gz https://github.com/Groestlcoin/HWI/releases/download/2.0.1/hwi-2.0.1-linux-amd64.tar.gz && \
RUN wget -qO /tmp/hwi.tar.gz https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-linux-amd64.tar.gz && \
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
echo "2061905cb89c8d4fdb105ab6af846239b62ca39a0cce8a33759bf23248c132a4 /tmp/hwi" | sha256sum -c - && \
echo "7a4673e085d5b66ceccf51afb8fafa37ccb21e1c4bb19ae62479f05720422405 /tmp/hwi" | sha256sum -c - && \
rm /tmp/hwi.tar.gz

SHELL ["/bin/bash", "-c"]
Expand Down
4 changes: 2 additions & 2 deletions Build/linux-x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.101 AS builder

RUN wget -qO /tmp/hwi.tar.gz https://github.com/Groestlcoin/HWI/releases/download/2.0.1/hwi-2.0.1-linux-amd64.tar.gz && \
RUN wget -qO /tmp/hwi.tar.gz https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-linux-amd64.tar.gz && \
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
echo "2061905cb89c8d4fdb105ab6af846239b62ca39a0cce8a33759bf23248c132a4 /tmp/hwi" | sha256sum -c - && \
echo "7a4673e085d5b66ceccf51afb8fafa37ccb21e1c4bb19ae62479f05720422405 /tmp/hwi" | sha256sum -c - && \
rm /tmp/hwi.tar.gz

WORKDIR /source
Expand Down
4 changes: 2 additions & 2 deletions Build/osx-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ RUN apt-get install -y --no-install-recommends imagemagick

RUN apt-get install -y --no-install-recommends git icnsutils

RUN wget -qO /tmp/hwi.tar.gz https://github.com/Groestlcoin/HWI/releases/download/2.0.1/hwi-2.0.1-mac-amd64.tar.gz && \
RUN wget -qO /tmp/hwi.tar.gz https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-mac-amd64.tar.gz && \
tar -zxvf /tmp/hwi.tar.gz -C /tmp hwi && \
echo "d6aba09e984c5e927a758f7ff2ac04795c8b3489090e6eaef3fce1e00f7473f8 /tmp/hwi" | sha256sum -c - && \
echo "8f33dba6ffedd46b905cb8ad30a7530c0324fe39de3956a7e45d38eaafbb6619 /tmp/hwi" | sha256sum -c - && \
rm /tmp/hwi.tar.gz

WORKDIR /source
Expand Down
4 changes: 2 additions & 2 deletions Build/win-x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ RUN apt-get install -y --no-install-recommends imagemagick
###

RUN apt-get install -y --no-install-recommends nsis unzip wine xxd osslsigncode openssl
RUN wget -qO "/tmp/hwi.zip" https://github.com/Groestlcoin/HWI/releases/download/2.0.1/hwi-2.0.1-windows-amd64.zip && \
RUN wget -qO "/tmp/hwi.zip" https://github.com/Groestlcoin/HWI/releases/download/2.0.2/hwi-2.0.2-windows-amd64.zip && \
unzip "/tmp/hwi.zip" -d "/tmp" && \
echo "9f7ee46873f34afb19f20e88e27add4a1a1fa30796beded7dbbee9aaad61fb29 /tmp/hwi.exe" | sha256sum -c - && \
echo "89374b658b9318c326cfe17aa4cc047f9ea4742e5b97028dde3124a9381626aa /tmp/hwi.exe" | sha256sum -c - && \
rm "/tmp/hwi.zip" && \
# Need to setup with rcedit because https://github.com/dotnet/sdk/issues/3943
# I prebuild the binaries with VS 2019 on commit b807b34a644c86c0b0d89c7f073967e79202731a
Expand Down

0 comments on commit 2659eb0

Please sign in to comment.