wip: reenables version

This commit is contained in:
Christopher Lowenthal 2022-10-31 16:41:52 -04:00
parent e6edca81c3
commit e616fbd800

View file

@ -7,20 +7,19 @@ on:
workflow_dispatch:
jobs:
# version:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - run: cd $GITHUB_WORKSPACE
# - run: pwd
# - run: ls -alt
# - run: git pull --tags
# - run: git tag -l
# - run: |
# current=$(git describe --tags | grep -Eo '[0-9]*?\.[0-9]*?\.[0-9]*')
# array=($(echo $current | tr '.' '\n'))
# array[2]=$((array[2]+1))
# echo $(IFS="." ; echo "${array[*]}")
version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pwd
- run: ls -alt
- run: git pull --tags
- run: git tag -l
- run: |
current=$(git describe --tags | grep -Eo '[0-9]*?\.[0-9]*?\.[0-9]*')
array=($(echo $current | tr '.' '\n'))
array[2]=$((array[2]+1))
echo $(IFS="." ; echo "${array[*]}")
build-lattice:
runs-on: ubuntu-latest