Again. Work pls ._.

This commit is contained in:
Dewy REDACTED 2020-04-04 22:06:01 +01:00
parent 3259dd6d60
commit 38f5c427ef
1 changed files with 4 additions and 3 deletions

View File

@ -13,10 +13,11 @@ if [[ "$BRANCH" == "master" ]]; then
BUILD_DIR="$(readlink -f ./build/libs/)" BUILD_DIR="$(readlink -f ./build/libs/)"
JAR_DIR="$(ls "$BUILD_DIR" | grep "release")" JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"
mv JAR_DIR BUILD_DIR/kamiblue-1.12.2-${COMMIT_TRIM}.jar mv ${JAR_DIR} ${BUILD_DIR}/kamiblue-1.12.2-${COMMIT_TRIM}-release.jar
JAR_DIR=./build/libs/kamiblue-1.12.2-${COMMIT_TRIM}.jar
JAR_DIR="$(ls "$BUILD_DIR" | grep "release")"
curl -F content=@"$JAR_DIR" "$WEBHOOK" curl -F content=@"$JAR_DIR" "$WEBHOOK"
else else
exit 0 exit 0
fi fi