fix minor version
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-07-26 00:24:54 +02:00
parent 444c7779ad
commit 7755f68092

View file

@ -17,7 +17,7 @@ steps:
# set version # set version
- | - |
MAJOR="1" MAJOR="1"
MINOR="0" MINOR="2"
PATCH="$(git rev-list --count "$CI_COMMIT_BRANCH")" PATCH="$(git rev-list --count "$CI_COMMIT_BRANCH")"
VERSION="v$MAJOR.$MINOR.$PATCH" VERSION="v$MAJOR.$MINOR.$PATCH"
if [ "$CI_COMMIT_BRANCH" != "main" ] && [ "$CI_COMMIT_BRANCH" != "master" ]; then if [ "$CI_COMMIT_BRANCH" != "main" ] && [ "$CI_COMMIT_BRANCH" != "master" ]; then