From f434d187afa84cf22df51eac51fd870301a72917 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Fri, 14 Jun 2024 17:43:20 +0530 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f366884..a4da9b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,7 @@ jobs: CONNECTOR_VERSION=$((grep -w '${{ inputs.connector }}Version' | cut -d= -f2) < gradle.properties) echo $CONNECTOR_VERSION sed -i "s/version=\(.*\)/version=$CONNECTOR_VERSION/g" gradle.properties - git commit -m "[Automated] Update verion to match connector version" gradle.properties + git diff-index --quiet HEAD || git commit -m "[Automated] Update verion to match connector version" gradle.properties - name: Build without Tests env: