-
Notifications
You must be signed in to change notification settings - Fork 0
/
compute_hashes.sh
executable file
·39 lines (29 loc) · 1.05 KB
/
compute_hashes.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/bash
VERSION=$1
echo "--CLI---"
URL="https://github.com/Oxen-AI/Oxen/releases/download/v$VERSION/oxen-mac-15.0.tar.gz"
echo "Downloading $URL"
wget -q $URL
shasum -a 256 oxen-mac-15.0.tar.gz
URL="https://github.com/Oxen-AI/Oxen/releases/download/v$VERSION/oxen-mac-14.0.tar.gz"
echo "Downloading $URL"
wget -q $URL
shasum -a 256 oxen-mac-14.0.tar.gz
URL="https://github.com/Oxen-AI/Oxen/releases/download/v$VERSION/oxen-mac-13.0.tar.gz"
echo "Downloading $URL"
wget -q $URL
shasum -a 256 oxen-mac-13.0.tar.gz
echo "--SERVER---"
URL="https://github.com/Oxen-AI/Oxen/releases/download/v$VERSION/oxen-server-mac-15.0.tar.gz"
echo "Downloading $URL"
wget -q $URL
shasum -a 256 oxen-server-mac-15.0.tar.gz
URL="https://github.com/Oxen-AI/Oxen/releases/download/v$VERSION/oxen-server-mac-14.0.tar.gz"
echo "Downloading $URL"
wget -q $URL
shasum -a 256 oxen-server-mac-14.0.tar.gz
URL="https://github.com/Oxen-AI/Oxen/releases/download/v$VERSION/oxen-server-mac-13.0.tar.gz"
echo "Downloading $URL"
wget -q $URL
shasum -a 256 oxen-server-mac-13.0.tar.gz
rm *.tar.gz