From 7005d281f42c6cb14c7405fa3cf374ebd3b3ecb5 Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Tue, 24 Oct 2023 09:06:36 +0200 Subject: [PATCH] ci(common): Fix tag creation In case the component needs versioning for the package version, e.g. asio, the tag needs to be adjusted. --- ci/detect_component_bump | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/detect_component_bump b/ci/detect_component_bump index 2d73fbb674a..5b6b9ee5e11 100755 --- a/ci/detect_component_bump +++ b/ci/detect_component_bump @@ -12,6 +12,7 @@ if git log -1 -m --name-only --pretty="" | grep -q components/${comp}/idf_compon echo "${comp}: Component version file has changed" version=`grep version: components/${comp}/.cz.yaml` version=${version#*version: } + version="${version//\~/_}" tag_format=`grep tag_format: components/${comp}/.cz.yaml` tag_format=${tag_format#*tag_format: }