Loading ci-templates/default.yml +1 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 Loading
ci-templates/default.yml +1 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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