Skip to content
Snippets Groups Projects
Commit 2369f968 authored by Marco De Donno's avatar Marco De Donno
Browse files

Add the branch name to the displayed version

parent 2a56c7ac
Branches
No related tags found
Loading
...@@ -16,7 +16,7 @@ before_script: ...@@ -16,7 +16,7 @@ before_script:
build_web: build_web:
stage: build stage: build
script: script:
- echo "__version__ = '$CI_COMMIT_SHA - $(date '+%F - %H:%M:%S %Z')'" > ./web/API/version.py - echo "__version__ = '$CI_COMMIT_REF_NAME $CI_COMMIT_SHA - $(date '+%F - %H:%M:%S %Z')'" > ./web/API/version.py
- docker build -t webnist_web:$CI_PIPELINE_ID ./web - docker build -t webnist_web:$CI_PIPELINE_ID ./web
python: python:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment