From 6d0c8a3f27b21c8abbba889deb6bfc306f5e68cf Mon Sep 17 00:00:00 2001 From: Kim Oliver Drechsel Date: Fri, 3 Dec 2021 18:34:17 +0100 Subject: [PATCH] Fix wrong variable name --- version_checker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_checker.sh b/version_checker.sh index 297f4fe..27b7eba 100755 --- a/version_checker.sh +++ b/version_checker.sh @@ -18,7 +18,7 @@ if ! echo "$EXISTING_VERSIONS" | grep -q "$LATEST_VERSION" || [[ "$1" == "-f" ]] DOWNLOAD_URL=$(echo "$HTML" | grep -oe "https://launcher.mojang.com.*server.jar") - build_number=$(/usr/local/bin/drone build create --param MINECRAFT_SERVER_VERSION="$TAG_VERSION" --param DOWNLOAD_URL="$DOWNLOAD_URL" Games/Minecraft-Vanilla-Server | grep Number | cut -d' ' -f2) + build_number=$(/usr/local/bin/drone build create --param MINECRAFT_SERVER_VERSION="$LATEST_VERSION" --param DOWNLOAD_URL="$DOWNLOAD_URL" Games/Minecraft-Vanilla-Server | grep Number | cut -d' ' -f2) echo "Starting build pipeline at https://drone.pyas.de/Games/Minecraft-Vanilla-Server/$build_number"