From 7b1d8024f5fa3bd6252add1fbbb948debc71eafb Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Mon, 31 Oct 2022 16:49:53 -0400 Subject: [PATCH] wip: reverts to using the verison shell script --- .github/workflows/release.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3ddbd780..c4339264d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,11 +14,8 @@ jobs: with: fetch-depth: 0 - run: echo $(git describe --tags) - - run: | - current=$(git describe --tags | grep -Eo '[0-9]*?\.[0-9]*?\.[0-9]*') - array=($(echo $current | tr '.' '\n')) - array[2]=$((array[2]+1)) - echo "version=$(IFS="." ; echo "${array[*]}")" >> $GITHUB_OUTPUT + - run: echo $(./github/workflows/version.sh) + - run: echo "version=$(./github/workflows/version.sh)" >> $GITHUB_OUTPUT build-lattice: runs-on: ubuntu-latest