-
Notifications
You must be signed in to change notification settings - Fork 29
/
make_release.sh
28 lines (23 loc) · 910 Bytes
/
make_release.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
VERSION="$1"
if [ -z "$1" ];
then
echo "No version provided"
VERSION="noname"
fi
rm -R optiminer-equihash/bin optiminer-equihash/logs
mkdir -p optiminer-equihash/bin
cp -r ~/programme/optiminer-zcash/bin/*.bin optiminer-equihash/bin/
for V in 191205 200406 203603 207903 223600
do
mkdir -p "optiminer-equihash/bin-$V"
cp -r ~/programme/optiminer-zcash/bin-$V/*.bin "optiminer-equihash/bin-$V/"
done
cp ~/programme/optiminer-zcash/build/optiminer-equihash optiminer-equihash/
cp ~/programme/optiminer-zcash/LICENSE optiminer-equihash/
cp ~/programme/optiminer-zcash/openssl-license.txt optiminer-equihash/
cp ~/programme/optiminer-zcash/mine*.sh optiminer-equihash/
cp ~/programme/optiminer-zcash/watchdog-cmd.sh optiminer-equihash/
cp README.md optiminer-equihash/
rm bin/x*.bin
strip optiminer-equihash/optiminer-equihash
tar -h -czvf optiminer-equihash-${VERSION}.tar.gz optiminer-equihash/*