set version
This commit is contained in:
parent
28b413e936
commit
5b935e9930
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ steps:
|
|||
# set version
|
||||
- |
|
||||
MAJOR="1"
|
||||
MINOR="1"
|
||||
MINOR="0"
|
||||
PATCH="$(git rev-list --count "$CI_COMMIT_BRANCH")"
|
||||
VERSION="v$MAJOR.$MINOR.$PATCH"
|
||||
if [ "$CI_COMMIT_BRANCH" != "main" ] && [ "$CI_COMMIT_BRANCH" != "master" ]; then
|
||||
|
|
Reference in a new issue