ci(common): Fix tag creation

In case the component needs versioning for the package version, e.g.
asio, the tag needs to be adjusted.
This commit is contained in:
Euripedes Rocha
2023-10-24 09:06:36 +02:00
parent a7d981863f
commit 62e3756904

View File

@ -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: }