You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.4 KiB

echo Refreshing binaries from artifacts.supernet.org
echo =========================================
echo Step: Removing old binaries
pwd
[ ! -d build ] && \
mkdir -p build
cd build
[ -d artifacts.supernet.org ] && \
echo Removing old artifacts. && \
rm -rvf artifacts.supernet.org
echo
echo Step: Cloning latest binaries for build
wget --recursive --no-parent https://artifacts.supernet.org/latest/
cd ..
echo =========================================
echo
pwd
echo =========================================
echo Step: Copying osx binaries from artifacts to assets/bin/osx/
echo
chmod +x build/artifacts.supernet.org/latest/osx/iguana \
build/artifacts.supernet.org/latest/osx/komodo*
cp -rvf build/artifacts.supernet.org/latest/osx/* assets/bin/osx/
echo
echo =========================================
echo Step: Copying Win64 binaries from artifacts to assets/bin/win64/
echo
cp -rvf build/artifacts.supernet.org/latest/windows/* assets/bin/win64/
echo
echo =========================================
echo Step: Copying linux64 binaries from artifacts to assets/bin/linux64
echo
chmod +x build/artifacts.supernet.org/latest/linux/iguana \
build/artifacts.supernet.org/latest/linux/komodo*
cp -rvf build/artifacts.supernet.org/latest/linux/* assets/bin/linux64/
echo
echo =========================================
echo Step: Finished Updating binaries from artifacts
echo