Skip to content
Snippets Groups Projects
Commit d67dc680 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: do not export on trigger

parent b613e196
Branches
Tags
1 merge request!851fix: do not export on trigger
......@@ -101,6 +101,9 @@ version:
NIGHTLY_TAG="${VERSION}-nightly"
EXPORT_TAG="${VERSION}"
DH_PUSH=""
elif [ "x${CI_PIPELINE_SOURCE}" = "xtrigger" ]; then
VERSION="${CI_COMMIT_BRANCH}"
DH_PUSH=""
elif [[ "$CI_COMMIT_TAG" =~ ^v[0-9.]+\.[0-9]+\.[0-9]+ ]]; then
VERSION="${CI_COMMIT_TAG:1}"
EXPORT_TAG="${VERSION}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment