Skip to content

Commit 29e5fbd

Browse files
authored
Merge pull request #651 from david-cermak/fix/master_detect_bump
[ci]: Fix for components not published
2 parents cfd6d6a + 22ec03b commit 29e5fbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/detect_component_bump

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ if git log -1 -m --name-only --pretty="" | grep -q components/${comp}/idf_compon
2222
if [ $(git tag -l "$tag") ]; then
2323
echo "${comp}: version (${tag}) already exits"
2424
else
25+
# skip components that do not have changelog
26+
[ -f components/${comp}/CHANGELOG.md ] || continue
27+
2528
echo "${comp}: Component version has been updated to ${version}"
29+
2630
# creates release notes from the last entry (between first two "## sections")
2731
awk '/^## \[/{a++};{if(a==1){print}}' components/${comp}/CHANGELOG.md > release_notes.md
2832

0 commit comments

Comments
 (0)