Skip to content

Commit

Permalink
Merge pull request #651 from david-cermak/fix/master_detect_bump
Browse files Browse the repository at this point in the history
[ci]: Fix for components not published
  • Loading branch information
david-cermak authored Sep 20, 2024
2 parents cfd6d6a + 22ec03b commit 29e5fbd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/detect_component_bump
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ if git log -1 -m --name-only --pretty="" | grep -q components/${comp}/idf_compon
if [ $(git tag -l "$tag") ]; then
echo "${comp}: version (${tag}) already exits"
else
# skip components that do not have changelog
[ -f components/${comp}/CHANGELOG.md ] || continue

echo "${comp}: Component version has been updated to ${version}"

# creates release notes from the last entry (between first two "## sections")
awk '/^## \[/{a++};{if(a==1){print}}' components/${comp}/CHANGELOG.md > release_notes.md

Expand Down

0 comments on commit 29e5fbd

Please sign in to comment.