diff --git a/ci-templates/default.yml b/ci-templates/default.yml index a4cf9f541477ed25c6285670b27f34259379e687..bb0d5538bb3ecf2424bc1b9bdf05137db1eb8a46 100644 --- a/ci-templates/default.yml +++ b/ci-templates/default.yml @@ -6,8 +6,6 @@ stages: - security .default: - variables: - DEFAULT_VERSION: "1.0.0" before_script: - | if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then @@ -15,5 +13,5 @@ stages: elif [ "$CI_COMMIT_REF_NAME" = "develop" ]; then export APP_VERSION="develop" else - export APP_VERSION=$DEFAULT_VERSION + export APP_VERSION=$CI_COMMIT_REF_NAME fi