fix minor version
This commit is contained in:
parent
444c7779ad
commit
7755f68092
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue