mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2025-12-06 07:12:01 +01:00
Fix nextVer
This commit is contained in:
parent
cc87c1ce40
commit
a5c38c1a16
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
majorVer=$(cat VERSION)
|
||||
lastVer=$(git tag --sort version:refname --list "$majorVer.*" | head -n1)
|
||||
lastVer=$(git tag --sort version:refname --list "$majorVer.*" | tail -n1)
|
||||
if [[ -n "$lastVer" ]]; then
|
||||
newVer=(${lastVer//./ })
|
||||
newVer[-1]="$((${newVer[-1]}+1))"
|
||||
|
|
|
|||
Loading…
Reference in a new issue