We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cacb61c commit 25b7363Copy full SHA for 25b7363
.werf/werf-deckhouse-controller.yaml
@@ -41,6 +41,7 @@ shell:
41
42
setup:
43
- |
44
+ CI_COMMIT_TAG="{{- env "CI_COMMIT_TAG" "" }}"
45
if [ -z "$CI_COMMIT_TAG" ]; then
46
latest_tag=$(git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags https://github.com/deckhouse/deckhouse.git 'v*.*.*' | tail --lines=1 | cut --delimiter='/' --fields=3)
47
IFS='.' read -r -a version_parts <<< "$latest_tag"
0 commit comments