From c0ee9e84934f69a2c826cccf5f306a666563b13c Mon Sep 17 00:00:00 2001 From: Swedz Date: Fri, 6 Sep 2024 23:09:34 -0400 Subject: [PATCH] Properly splice mod version --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 70407b1b..22c2f954 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: } >> $GITHUB_ENV - name: Generate variables using release data run: | - echo "MOD_VERSION=$(echo "$GITHUB_RELEASE_TAG_NAME" | sed -E 's/-[0-9]+\.[0-9]+$//')" >> $GITHUB_ENV + echo "MOD_VERSION=$(echo "$GITHUB_RELEASE_TAG_NAME" | sed -E 's/-[^-]+$//')" >> $GITHUB_ENV echo "RELEASE_TYPE=$(echo "$GITHUB_RELEASE_TAG_NAME" | grep -oE '(alpha|beta)' || echo "release")" >> $GITHUB_ENV { echo "MOD_CHANGELOG_TRIMMED<