Skip to content
Snippets Groups Projects
Commit 39b1e052 authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

fix: side branch build has branch name

parent ebf8ccf5
No related branches found
No related tags found
3 merge requests!34Merging develop (merged from 2024Q2_RC) into main creating for 2024Q2 Release,!33Merging 2024Q2_RC into main creating for 2024Q2 Release,!32Merging 2024Q2_RC into develop
Pipeline #6716 passed
...@@ -6,8 +6,6 @@ stages: ...@@ -6,8 +6,6 @@ stages:
- security - security
.default: .default:
variables:
DEFAULT_VERSION: "1.0.0"
before_script: before_script:
- | - |
if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then
...@@ -15,5 +13,5 @@ stages: ...@@ -15,5 +13,5 @@ stages:
elif [ "$CI_COMMIT_REF_NAME" = "develop" ]; then elif [ "$CI_COMMIT_REF_NAME" = "develop" ]; then
export APP_VERSION="develop" export APP_VERSION="develop"
else else
export APP_VERSION=$DEFAULT_VERSION export APP_VERSION=$CI_COMMIT_REF_NAME
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment