Skip to content

Commit 25b7363

Browse files
authoredFeb 24, 2025
[ci] CI_COMMIT_TAG does not found (#12278)
Signed-off-by: Nikolay Mitrofanov <nikolay.mitrofanov@flant.com>
1 parent cacb61c commit 25b7363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.werf/werf-deckhouse-controller.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ shell:
4141

4242
setup:
4343
- |
44+
CI_COMMIT_TAG="{{- env "CI_COMMIT_TAG" "" }}"
4445
if [ -z "$CI_COMMIT_TAG" ]; then
4546
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)
4647
IFS='.' read -r -a version_parts <<< "$latest_tag"

0 commit comments

Comments
 (0)