Skip to content

Commit

Permalink
Print the changelog config
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Nov 5, 2021
1 parent 4da7dd4 commit d50315a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ chart=$(echo ${tag} | grep -P -o '^([a-zA-Z0-9-]+)(?![0-9.]+)')
tagPattern="${chart}-(.+)"
labelPattern='^(?!\\['${chart}'\\])'

echo "Tag search pattern: $tagPattern"
echo "Label search pattern: $labelPattern"

echo ::group::Configuring changelog generator
cat .github/changelog-configuration.json | jq '.tag_resolver.filter.pattern="'$tagPattern'" | .label_extractor[0].pattern="'$labelPattern'"' > .github/configuration.json
# cat .github/configuration.json
cat .github/configuration.json
echo ::endgroup::

0 comments on commit d50315a

Please sign in to comment.