forked from Katenary/katenary
Compare commits
4 Commits
feat-fix-i
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 7230081401 | |||
| f0fc694d50 | |||
| d92cc8a01c | |||
| 3abfaf591c |
@@ -49,6 +49,7 @@ fi
|
|||||||
|
|
||||||
# Where to download the binary
|
# Where to download the binary
|
||||||
TAG=$(curl -sLf https://repo.katenary.io/api/v1/repos/katenary/katenary/releases/latest 2>/dev/null | grep -Po '"tag_name":\s*"[^"]*"' | cut -d ":" -f2 | tr -d '"')
|
TAG=$(curl -sLf https://repo.katenary.io/api/v1/repos/katenary/katenary/releases/latest 2>/dev/null | grep -Po '"tag_name":\s*"[^"]*"' | cut -d ":" -f2 | tr -d '"')
|
||||||
|
TAG=${TAG#releases/}
|
||||||
|
|
||||||
# use the right names for the OS and architecture
|
# use the right names for the OS and architecture
|
||||||
if [ $ARCH = "x86_64" ]; then
|
if [ $ARCH = "x86_64" ]; then
|
||||||
@@ -57,6 +58,7 @@ fi
|
|||||||
|
|
||||||
BIN_URL="https://repo.katenary.io/api/packages/Katenary/generic/katenary/$TAG/katenary-$OS-$ARCH"
|
BIN_URL="https://repo.katenary.io/api/packages/Katenary/generic/katenary/$TAG/katenary-$OS-$ARCH"
|
||||||
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Downloading $BIN_URL"
|
echo "Downloading $BIN_URL"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user