mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-05 08:10:50 +00:00
sets github output 'version' variable
This commit is contained in:
parent
17512ec838
commit
b9da4850da
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -13,11 +13,12 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
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 $(IFS="." ; echo "${array[*]}")
|
||||
echo "version=$(IFS="." ; echo "${array[*]}")" >> $GITHUB_OUTPUT
|
||||
|
||||
build-lattice:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue