2021-10-22 19:08:10 -04:00
|
|
|
#!/bin/sh
|
2022-08-07 18:28:50 -04:00
|
|
|
# Script used to fetch the latest version of the server jar
|
2021-10-22 19:08:10 -04:00
|
|
|
|
|
|
|
mkdir -p fetched_server
|
2022-08-07 18:28:50 -04:00
|
|
|
|
2024-02-12 01:08:51 -05:00
|
|
|
curl -L https://ci.plex.us.org/job/Scissors/job/1.20.4/lastSuccessfulBuild/artifact/*zip*/archive.zip > archive.zip
|
2022-08-07 18:28:50 -04:00
|
|
|
unzip -o archive.zip
|
2023-06-12 16:14:21 -04:00
|
|
|
mv archive/build/libs/scissors-*.jar fetched_server/server.jar
|
2022-08-07 18:28:50 -04:00
|
|
|
|
|
|
|
rm -rf archive/
|
|
|
|
rm archive.zip
|