From 2cb283cd2c51da860778aba3c2c1178052de5c80 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Sat, 28 Dec 2024 17:32:16 +0100 Subject: [PATCH] Try that --- .forgejo/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index a9d8ed0..d631ad4 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -19,10 +19,10 @@ jobs: run: mkdir artifact && mvn clean package && mv target/*.jar artifact/ - name: Build for 1.21.3 - run: mvn clean package -Dproject.spigot.version=1.21.3-R0.1-SNAPSHOT && mv target/*.jar artifact/ + run: find src \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s/v1_21_R1/v1_21_R2/g" && mvn clean package -Dproject.spigot.version=1.21.3-R0.1-SNAPSHOT && mv target/*.jar artifact/ - name: Build for 1.21.4 - run: mvn clean package -Dproject.spigot.version=1.21.4-R0.1-SNAPSHOT && mv target/*.jar artifact/ + run: find src \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s/v1_21_R2/v1_21_R3/g" && mvn clean package -Dproject.spigot.version=1.21.4-R0.1-SNAPSHOT && mv target/*.jar artifact/