From 49ac19f71d46e1c62f7bd31529a9b4d655cb75d5 Mon Sep 17 00:00:00 2001 From: Ryan Barlow <7389646+ryanbarlow97@users.noreply.github.com> Date: Tue, 22 Sep 2026 22:35:29 +0000 Subject: [PATCH 1/2] build: standardize lowercase plugin artifacts --- .github/scripts/plugin-artifact.py | 4 ++-- .github/workflows/build.yml | 2 +- .github/workflows/maven-release.yml | 2 +- pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/scripts/plugin-artifact.py b/.github/scripts/plugin-artifact.py index 587ca45..c730186 100644 --- a/.github/scripts/plugin-artifact.py +++ b/.github/scripts/plugin-artifact.py @@ -15,8 +15,8 @@ def validate(source, version): target = Path.cwd().resolve() / "target" if not source.is_relative_to(target) or not source.is_file(): raise ValueError("Expected the Maven runtime JAR inside target/") - if not source.name.endswith(f"-{version}.jar"): - raise ValueError("Runtime JAR filename must end with the Maven version") + if not re.fullmatch(r"[a-z][a-z0-9]*-" + re.escape(version) + r"\.jar", source.name): + raise ValueError("Runtime JAR filename must use a lowercase alphanumeric name followed by the Maven version") with zipfile.ZipFile(source) as jar: descriptors = {"plugin.yml", "paper-plugin.yml"}.intersection(jar.namelist()) if not descriptors: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3b478d..a7d5166 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: distribution: temurin java-version: '21' - name: Install shared plugin dependencies - uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@c19d797eb3565838790089af59e5e5028fc56576 + uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@2eefce8d0d648a3c9a2587d64274691086135821 with: mode: pinned diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 0bc096b..c464c08 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -47,7 +47,7 @@ jobs: [[ "${TAG^^}" != *SNAPSHOT* ]] || exit 1 - name: Install shared plugin dependencies - uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@c19d797eb3565838790089af59e5e5028fc56576 + uses: TF-Minecraft/TLibs/.github/actions/setup-plugins@2eefce8d0d648a3c9a2587d64274691086135821 with: mode: pinned diff --git a/pom.xml b/pom.xml index 9f8bc2e..25b7c22 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.tfminecraft cooking - 0.2.1-ALPHA + 0.2.1 21 From 6113654aa159374d0794569010a32f42e7fdbc5e Mon Sep 17 00:00:00 2001 From: Ryan Barlow <7389646+ryanbarlow97@users.noreply.github.com> Date: Tue, 22 Sep 2026 22:39:34 +0000 Subject: [PATCH 2/2] build: use stable furniture release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 25b7c22..fea2310 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ 21 UTF-8 - 0.2.0-BETA + 0.2.0 2.0.1 3.0.1 2.0.0