From ed7926bccd057a8817187a8d76d0f92971ef5777 Mon Sep 17 00:00:00 2001 From: Raven Szewczyk Date: Sat, 27 Jan 2024 15:47:33 +0000 Subject: [PATCH] Fix maven publishing of snapshots --- .github/workflows/release-tags.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index ae50a879..c0f44caa 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -14,7 +14,7 @@ jobs: env: VERSION: ${{ github.ref_name }} RELEASE_VERSION: ${{ github.ref_name }} - SNAPSHOT: ${{ endsWith(github.ref_name, '-snapshot') || contains(github.event.head_commit.message, '[snapshot]') }} + SNAPSHOT: ${{ contains(github.ref_name, 'snapshot') || contains(github.event.head_commit.message, '[snapshot]') }} MAVEN_PUBLISHING_URL: ${{ vars.MAVEN_PUBLISHING_URL || 'https://nexus.gtnewhorizons.com/repository/releases/' }} steps: - name: Checkout mod repo