Attempt to fix CI pt 2

This commit is contained in:
Johannes Frohnmeyer 2022-07-24 20:22:06 +02:00
parent 39245e3083
commit 4656b40a9d
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,9 @@ build_test:
- gradle --build-cache build publish -Pflavor=linux -Ppublic -Ptimestamp=$TIMESTAMP
- gradle --build-cache build publish -Pflavor=macos -Ppublic -Ptimestamp=$TIMESTAMP
- mkdir -p build/libs
- cp launcher/build/libs/*-*-*-*.jar ./
- cp launcher/build/libs/* build/libs/
- cp wrapper/build/libs/* build/libs/
- cp launcher/build/libs/*-*-*-*.jar ./
- cp wrapper/build/libs/*.exe wrapper.exe
- cp wrapper/build/libs/*-all.jar wrapper.jar
- for f in *-*-*.jar; do mv "$f" "latest-${f##*-}";done
@ -48,7 +49,7 @@ portable:
- mkdir -p portable/run/libraries/io/gitlab/jfronny/inceptum/Inceptum
- mkdir -p portable/jvm
- cp wrapper.jar portable/
- main="$(find launcher/build/libs/ -type f -iname "Inceptum-*-windows.jar")"
- main="$(find build/libs/ -type f -iname "Inceptum-*-windows.jar")"
- dir="${main##*/Inceptum-}"
- dir="portable/run/libraries/io/gitlab/jfronny/inceptum/Inceptum/${dir%%-windows*}"
- mkdir -p "$dir"