From 359c17d738caf52a0243a6bc8401c0516f5ecba7 Mon Sep 17 00:00:00 2001 From: Christophe '116' Loiseau <116@lab0.net> Date: Wed, 24 Apr 2024 15:24:12 +0200 Subject: [PATCH] change publish --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 90fa0870fae..7405a1d2f11 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: run: | if [[ "$GITHUB_REF" == "refs/tags/v"* ]]; then GRADLE_ARGS="-Pversion=${GITHUB_REF#refs/tags/v}" - else if [[ "$GITHUB_REF" == "refs/heads/sovity/"* ]]; then + elif [[ "$GITHUB_REF" == "refs/heads/sovity/"* ]]; then GRADLE_ARGS="-Pversion=${GITHUB_REF#refs/heads/sovity/}.0.$(date '+%Y%m%d.%H%M%S')" else GRADLE_ARGS="-Pversion=0.$(date '+%Y%m%d.%H%M%S')"