From c24abc76be63cd58189ae03ddfc1480976bde93e Mon Sep 17 00:00:00 2001 From: hitanshu310 Date: Fri, 6 Jun 2025 01:54:20 +0530 Subject: [PATCH] Trying to figure out RCA --- .gitea/workflows/test_image_build_push.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test_image_build_push.yml b/.gitea/workflows/test_image_build_push.yml index 30b431a..99f6a46 100644 --- a/.gitea/workflows/test_image_build_push.yml +++ b/.gitea/workflows/test_image_build_push.yml @@ -21,7 +21,7 @@ jobs: - name: Get latest tag id: get_tag run: | - export "VERSION=$(git describe --tags --abbrev=0)" + export "VERSION=$(git describe --tags --abbrev=0)" >> $GITEA_ENV echo "${VERSION}" export "MAJOR=$(echo ${VERSION} | /usr/bin/cut -d "." -f 1)" echo "MAJOR=${MAJOR}" @@ -31,8 +31,7 @@ jobs: echo "PATCH=${PATCH}" - name: Increment version run: | - export "NEW_VERSION=${{ steps.get_tag.outputs.MAJOR }}" - echo "NEW_VERSION=${NEW_VERSION}" + cat $GITEA_ENV - name: Extract commit message run: echo "COMMIT_MESSAGE=$(git log -1 --pretty=%B)" - name: Create and push tag