From ebab954ceab1d8496845c888703a14dc6cb2ef95 Mon Sep 17 00:00:00 2001 From: Avgustin Marinov Date: Mon, 16 Jun 2025 18:22:02 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e8f3bcdc..40c93d4e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,11 +78,11 @@ jobs: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Tag release run: | -# if [ "${REVISION}" != "0-SNAPSHOT" ]; then - git config --global user.email "release_manager@hawkbit.eclipse.org" - git config --global user.name "Eclipse Hawkbit (Release Manager)" - git tag -a ${REVISION} -m "Release version ${REVISION}" - git push origin ${REVISION} -# fi + if [ "${REVISION}" != "0-SNAPSHOT2" ]; then + git config --global user.email "release_manager@hawkbit.eclipse.org" + git config --global user.name "Eclipse Hawkbit (Release Manager)" + git tag -a ${REVISION} -m "Release version ${REVISION}" + git push origin ${REVISION} + fi env: REVISION: ${{ github.event.inputs.revision }}