Update LuaModAutomator to 0.6.0 ZF API, update features and Workshop handling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
OverlordandClaude Bot committed 2026-10-10 19:55:43 +02:00
1 parent 322092729f
commit 389b5b19d7
17 files changed
+309 -101

No files matched your search

+10 -5
View File
@@ -6,7 +6,7 @@
#
# A pre-release tag (containing "-", e.g. v0.2.0-rc.1), or a tag on a commit that is not on
# master, is built and tested but not released. The tag must match the version in
# build.gradle.kts.
# settings.gradle.kts.
#
# Usage:
# ci/release.sh build downloads the game jar and builds the mod (tests and checkMod included)
@@ -63,8 +63,10 @@ run_gradle() {
"${REPO_ROOT}/gradlew" --no-daemon --console=plain --project-dir "${REPO_ROOT}" "$@"
}
project_version() {
run_gradle --quiet properties --property version | sed --quiet 's/^version: //p'
# Prints the mod's version: the `version = "..."` line of zomboidForge { } in settings.gradle.kts.
# The ZomboidForge plugin does not set Gradle's project version.
mod_version() {
sed --quiet 's/^[[:space:]]*version[[:space:]]*=[[:space:]]*"\([^"]*\)".*/\1/p' "${REPO_ROOT}/settings.gradle.kts"
}
# Downloads java/projectzomboid.jar of the dedicated server and prints its path.
@@ -94,9 +96,12 @@ build() {
local project
local game_jar="${GAME_JAR:-}"
project="$(project_version)"
project="$(mod_version)"
if [[ -z "${project}" ]]; then
fail "No version line in settings.gradle.kts."
fi
if [[ "${project}" != "${version}" ]]; then
fail "The tag '${tag}' does not match the version '${project}' in build.gradle.kts."
fail "The tag '${tag}' does not match the version '${project}' in settings.gradle.kts."
fi
if [[ -z "${game_jar}" ]]; then