Skip to content
Snippets Groups Projects
Commit f4138741 authored by cyberta's avatar cyberta
Browse files

Merge branch 'macosx_builds_3' into 'main'

Macosx builds

See merge request !8
parents 91361cfa 01c6b6c7
No related branches found
No related tags found
1 merge request!8Macosx builds
......@@ -9,4 +9,4 @@
url = https://0xacab.org/leap/obfsvpn.git
[submodule "motd"]
path = motd
url = git@0xacab.org:leap/motd.git
url = https://0xacab.org/leap/motd.git
......@@ -21,8 +21,14 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
EXPECTED_FP=87fc728c9c731e2f74e4a999ef53cf07302d7ed3504b0839027bd9c10edaa3fd
elif [[ "$OSTYPE" == "darwin"* ]]; then
# Mac OSX
GO_VERSION=go1.17.10.darwin-arm64
ARCH=`uname -a | rev | cut -d " " -f 1 | rev`
if [[ "$ARCH" = "x86_64" ]]; then
GO_VERSION=go1.17.10.darwin-amd64
EXPECTED_FP=84979d5985c70cee6f303050a7e811440aad7f304efdf28665b200f096b01945
else
GO_VERSION=go1.17.10.darwin-arm64
EXPECTED_FP=32098bea40117ea1ec23e7124cd188db6bdddd0ea41e2ec9bea3ba35a487e39c
fi
else
echo "$OSTYPE is currently not supported."
exit 1
......@@ -38,7 +44,7 @@ else
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
ACTUAL_FP=`sha256sum $GO_VERSION.tar.gz | cut -d " " -f1`
else
ACTUAL_FP=`shasum -a 512256 $GO_VERSION.tar.gz | cut -d " " -f1`
ACTUAL_FP=`shasum -a 256 $GO_VERSION.tar.gz | cut -d " " -f1`
fi
if [[ ! $ACTUAL_FP == $EXPECTED_FP ]]
......
Subproject commit d3d699aae868bae11cda9d896af460536ad2bb19
Subproject commit de6cd3602e5b52cf0799ea81bde0eb58fe09d621
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment