"src/kpi_value_api/.gitlab-ci.yml" did not exist on "3cd06d0b842f305588e7815f6092eb1d249c8f69"
Newer
Older
stages:
- .pre
- build
- test
- post
- security
.default:
DEFAULT_VERSION: "1.0.0-SNAPSHOT"
before_script:
- |
if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then
export APP_VERSION=$CI_COMMIT_TAG
elif [ "$CI_COMMIT_REF_NAME" = "develop" ]; then
export APP_VERSION="develop"
else
export APP_VERSION=$DEFAULT_VERSION