mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
fixes index in version script
This commit is contained in:
parent
a177b0731e
commit
bed4f11d43
2 changed files with 2 additions and 4 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -14,10 +14,8 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
- run: echo $(git describe --tags)
|
||||
- run: echo $(sh .github/workflows/version.sh)
|
||||
shell: sh
|
||||
- run: .github/workflows/version.sh
|
||||
- run: echo "version=$(sh .github/workflows/version.sh)" >> $GITHUB_OUTPUT
|
||||
shell: sh
|
||||
|
||||
build-lattice:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
2
.github/workflows/version.sh
vendored
2
.github/workflows/version.sh
vendored
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
current=$(git describe --tags | grep -Eo '[0-9]*?\.[0-9]*?\.[0-9]*')
|
||||
array=($(echo $current | tr '.' '\n'))
|
||||
array[2]=$((array[2]+1))
|
||||
array[1]=$((array[1]+1))
|
||||
echo $(IFS="." ; echo "${array[*]}")
|
||||
Loading…
Add table
Reference in a new issue