server/scripts/fetch_server.sh

12 lines
328 B
Bash
Raw Normal View History

#!/bin/sh
2022-08-07 18:28:50 -04:00
# Script used to fetch the latest version of the server jar
mkdir -p fetched_server
2022-08-07 18:28:50 -04:00
2022-12-27 12:58:02 -05:00
curl -L https://ci.scissors.gg/job/Scissors/job/1.19.3/lastSuccessfulBuild/artifact/*zip*/archive.zip > archive.zip
2022-08-07 18:28:50 -04:00
unzip -o archive.zip
mv archive/build/libs/Scissors-*.jar fetched_server/server.jar
rm -rf archive/
rm archive.zip