diff --git a/scripts/fetch_server.sh b/scripts/fetch_server.sh index 304ea27..85895e6 100755 --- a/scripts/fetch_server.sh +++ b/scripts/fetch_server.sh @@ -3,7 +3,7 @@ mkdir -p fetched_server -curl -L https://ci.plex.us.org/job/Scissors/job/1.20.4/17/artifact/*zip*/archive.zip > archive.zip +curl -L https://ci.plex.us.org/job/Scissors/job/1.20.4/lastSuccessfulBuild/artifact/*zip*/archive.zip > archive.zip unzip -o archive.zip mv archive/build/libs/scissors-*.jar fetched_server/server.jar