From af8336ecb19e3186f9dce9ff7d98c2ff1882ed18 Mon Sep 17 00:00:00 2001 From: bischoffz Date: Thu, 13 Jun 2024 22:11:18 -0400 Subject: [PATCH] update workflow [skip ci] --- .github/workflows/release_build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_build.yml b/.github/workflows/release_build.yml index fbb991d40..ae0c5fd33 100644 --- a/.github/workflows/release_build.yml +++ b/.github/workflows/release_build.yml @@ -68,7 +68,7 @@ jobs: env: VERSION: ${{ needs.release.outputs.gcm_version }} steps: - - name: Checkout GCM + - name: Checkout GCM Taskit uses: actions/checkout@v4 with: repository: HHS/ASPR-ms-gcm-taskit @@ -81,9 +81,9 @@ jobs: - name: Increment GCM Taskit Version run: | - gcm_taskit_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout --file pom.xml) - echo GCM Taskit Version: $gcm_taskit_version - parts=( ${gcm_version//./ } ) + current_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout --file pom.xml) + echo GCM Taskit Version: $current_version + parts=( ${current_version//./ } ) bv=$((parts[2] + 1)) new_version="${parts[0]}.${parts[1]}.${bv}" echo New GCM Taskit Version: $new_version