From e23592b6a4ba1277ed608ad6af7ff46885f86616 Mon Sep 17 00:00:00 2001 From: Arindy Date: Wed, 12 Feb 2025 05:46:56 +0100 Subject: [PATCH] moves git tag before snapshot --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c3dac06..3268246 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -62,9 +62,9 @@ jobs: git config user.name "gitea" git add ./pom.xml git commit -m "[no ci] release ${{ steps.version.outputs.VERSION }}" + git tag ${{ steps.version.outputs.VERSION }} -m "release ${{ steps.version.outputs.VERSION }}" ./mvnw -B --no-transfer-progress clean validate -Pnew-snapshot git add ./pom.xml git commit -m "[no ci] prepare new Version" - git tag ${{ steps.version.outputs.VERSION }} -m "release ${{ steps.version.outputs.VERSION }}" git push origin main git push origin ${{ steps.version.outputs.VERSION }}