wip: reverts to using the verison shell script

This commit is contained in:
Christopher Lowenthal 2022-10-31 16:49:53 -04:00
parent b9da4850da
commit 7b1d8024f5

View file

@ -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