mirror of
https://github.com/kaboomserver/server.git
synced 2024-12-22 23:55:18 +00:00
11 lines
328 B
Bash
Executable file
11 lines
328 B
Bash
Executable file
#!/bin/sh
|
|
# Script used to fetch the latest version of the server jar
|
|
|
|
mkdir -p fetched_server
|
|
|
|
curl -L https://ci.plex.us.org/job/Scissors/job/1.20.1/lastSuccessfulBuild/artifact/*zip*/archive.zip > archive.zip
|
|
unzip -o archive.zip
|
|
mv archive/build/libs/scissors-*.jar fetched_server/server.jar
|
|
|
|
rm -rf archive/
|
|
rm archive.zip
|