From 11c6f1f79ee2eb70bdbde7264deb83999872e606 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 23 Oct 2024 11:28:50 -0300 Subject: [PATCH] =?UTF-8?q?Port=20to=201.21.3=20(my=20dumb=20ass=20hardcod?= =?UTF-8?q?ed=20the=201.21.2=20version=20(=20=E2=8C=AF=E1=B7=84=20=C2=B7?= =?UTF-8?q?=CC=AB=20=E2=8C=AF=E1=B7=85=E0=B8=81=20))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/mod-publish.yml | 4 +++- CHANGELOG.md | 2 +- gradle.properties | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mod-publish.yml b/.github/workflows/mod-publish.yml index 8a52aa8..3974b47 100644 --- a/.github/workflows/mod-publish.yml +++ b/.github/workflows/mod-publish.yml @@ -32,7 +32,9 @@ jobs: declare -g $1="$2" } set_var JAR_FILE $(eval echo fabric/build/libs/ExtremeSoundMuffler-*_*-*.jar) - set_var MOD_VERSION $(echo ${JAR_FILE%.*} | cut -d- -f2) + set_var V1=$(echo "$JAR_FILE" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1) + set_var V2=$(echo "$JAR_FILE" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | tail -1) + set_var MOD_VERSION $(echo "${V1}-${V2}") - name: Publish Minecraft Mods NeoForge Edition uses: Kir-Antipov/mc-publish@v3.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b13789..756eb61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1 @@ - +port to 1.21.2(3) diff --git a/gradle.properties b/gradle.properties index 2e623cd..6aee81b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ description=This mod allows you to muffle (almost) any sound selectively,\n\ allowing you to choose the volume of the sound you want between mute and 90%.\n\ This mod also works Clientside only. -minecraft_version_range=[1.21.2] +minecraft_version_range=[1.21.2,) parchment_minecraft=1.21 parchment_version=2024.07.28