We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e8387d commit 4dfc068Copy full SHA for 4dfc068
install.sh
@@ -1,7 +1,5 @@
1
#!/usr/bin/env bash
2
3
-echo "selected arch: ${ARCH}"
4
-
5
ARCH=$(uname -m)
6
if [ "${ARCH}" == "x86_64" ]; then
7
ARCH="x86_64"
@@ -12,6 +10,7 @@ else
12
10
exit 1
13
11
fi
14
+echo "selected arch: ${ARCH}"
15
RELEASE_META_DATA_URL="https://api.github.com/repos/sejoharp/worktimers/releases/latest"
16
BINARY_URL=$(curl -s ${RELEASE_META_DATA_URL} | jq -r ".assets[] | select(.name | contains(\"${ARCH}\")) | .browser_download_url")
17
echo "downloading ${BINARY_URL}"
0 commit comments