forked from SteamWar/SteamWar
Unpack CLI distribution in release
- Remove CLI installDist from build step - Copy the packaged sw.zip into /jars during release - Use `rm -rf` for the existing `/jars/sw` cleanup
This commit is contained in:
+2
-3
@@ -1,6 +1,5 @@
|
||||
build:
|
||||
- "./gradlew build --no-daemon"
|
||||
- "./gradlew :CLI:installDist --no-daemon"
|
||||
|
||||
artifacts:
|
||||
"/jars/BauSystem.jar": "BauSystem/build/libs/BauSystem-all.jar"
|
||||
@@ -34,6 +33,6 @@ artifacts:
|
||||
"/jars/website-api.jar": "WebsiteBackend/build/libs/WebsiteBackend-all.jar"
|
||||
|
||||
release:
|
||||
- "rm -r /jars/sw"
|
||||
- "cp -r CLI/build/install/sw /jars"
|
||||
- "rm -rf /jars/sw"
|
||||
- "unzip -o CLI/build/distributions/sw.zip -d /jars"
|
||||
- "sudo systemctl restart api.service"
|
||||
|
||||
Reference in New Issue
Block a user