Commit 39b1e052 authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

fix: side branch build has branch name

parent ebf8ccf5
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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