Browse Source

rm iguana bins from installers

pkg_automation_electrum
pbca26 7 years ago
parent
commit
4a3ec9295e
  1. 24
      binary_artifacts.sh

24
binary_artifacts.sh

@ -18,19 +18,18 @@ pwd
echo ========================================= echo =========================================
echo Step: Permission +x for OSX binaries from artifacts to assets/bin/osx/ echo Step: Permission +x for OSX binaries from artifacts to assets/bin/osx/
echo echo
chmod +x assets/artifacts.supernet.org/latest/osx/iguana \ rm assets/artifacts.supernet.org/latest/osx/iguana
assets/artifacts.supernet.org/latest/osx/komodo* chmod +x assets/artifacts.supernet.org/latest/osx/komodo*
#cp -rvf assets/artifacts.supernet.org/latest/osx/* assets/bin/osx/
mkdir assets/bin mkdir assets/bin
mv assets/artifacts.supernet.org/latest/osx assets/bin/osx echo Moving OSX bins to assets/bin
wget https://supernetorg.bintray.com/binaries/komodo_OSX_latest.zip
echo Moving legacy libs to assets/bin checksum=`shasum -a 256 komodo_OSX_latest.zip | awk '{ print $1 }'`
wget https://supernetorg.bintray.com/misc/libs_legacy_osx.zip if [ "$checksum" = "c20a1b7268dd0d9bbc8984a0e76cc868d8b4479af18cd1dde4406f63b7f12255" ]; then
checksum=`shasum -a 256 libs_legacy_osx.zip | awk '{ print $1 }'`
if [ "$checksum" = "e9474aa243694a2d4c87fccc443e4b16a9a5172a24da76af9e5ecddd006649bb" ]; then
echo "Checksum is correct." echo "Checksum is correct."
unzip libs_legacy_osx.zip unzip komodo_OSX_latest.zip
cp -rvf libs_legacy_osx/* assets/bin/osx/. mv komodo_OSX_latest assets/bin/osx
else else
echo "Checksum is incorrect!" echo "Checksum is incorrect!"
exit 0 exit 0
@ -38,13 +37,14 @@ fi
echo ========================================= echo =========================================
echo Step: Moving Windows binaries from artifacts to assets/bin/win64/ echo Step: Moving Windows binaries from artifacts to assets/bin/win64/
#echo #echo
rm assets/artifacts.supernet.org/latest/windows/iguana
mv assets/artifacts.supernet.org/latest/windows assets/bin/win64 mv assets/artifacts.supernet.org/latest/windows assets/bin/win64
echo echo
echo ========================================= echo =========================================
echo Step: Permissions +x for linux64 binaries from artifacts to assets/bin/linux64 echo Step: Permissions +x for linux64 binaries from artifacts to assets/bin/linux64
echo echo
chmod +x assets/artifacts.supernet.org/latest/linux/iguana \ rm assets/artifacts.supernet.org/latest/linux/iguana
assets/artifacts.supernet.org/latest/linux/komodo* chmod +x assets/artifacts.supernet.org/latest/linux/komodo*
echo Moving Linux bins to assets/bin echo Moving Linux bins to assets/bin
mv assets/artifacts.supernet.org/latest/linux assets/bin/linux64/ mv assets/artifacts.supernet.org/latest/linux assets/bin/linux64/
echo echo

Loading…
Cancel
Save