From cf2afa2781d5de21693e2af57f48378eb0a75c48 Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Wed, 13 Nov 2024 16:52:13 +0100 Subject: [PATCH] ci: release, ignore snapshot versions Signed-off-by: Edoardo Vacchi --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 475c503..0cf0f71 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,6 +49,7 @@ jobs: git config user.email "oss@extism.org" - name: Set the version + if: ${{ ! endsWith(github.event.inputs.release-version, '-SNAPSHOT') }} run: | mvn --batch-mode --no-transfer-progress versions:set -DgenerateBackupPoms=false -DnewVersion=${{ github.event.inputs.release-version }} git add .