mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'ci/git_describe_exclude_qa_tags' into 'master'
ci: check idf version excluding qa tags Closes IDFCI-2097 See merge request espressif/esp-idf!29781
This commit is contained in:
commit
351453c551
@ -24,7 +24,7 @@ cmake_ver_minor=$(get_ver_from_cmake IDF_VERSION_MINOR)
|
||||
cmake_ver_patch=$(get_ver_from_cmake IDF_VERSION_PATCH)
|
||||
version_from_cmake="${cmake_ver_major}.${cmake_ver_minor}.${cmake_ver_patch}"
|
||||
|
||||
git_desc=$(git describe)
|
||||
git_desc=$(git describe --exclude 'qa-test-*')
|
||||
git_desc_regex="^v([0-9]+)\.([0-9]+)(\.([0-9]+))?.*$"
|
||||
if [[ ! ${git_desc} =~ ${git_desc_regex} ]]; then
|
||||
echo "Could not determine the version from 'git describe' output: ${git_desc}"
|
||||
|
Loading…
Reference in New Issue
Block a user