mirror of
https://github.com/bitnami/charts.git
synced 2026-02-19 19:47:22 +08:00
ci: 👷 🚑 Do not clean changelog
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
@@ -139,7 +139,7 @@ jobs:
|
||||
# We know the final squashed commit title, which will be the PR title. We cannot add a link to the commit in the main branch because it has not been
|
||||
# merged yet (this will be corrected once a new version regenerates the changelog). Instead, we add the PR url which contains the exact same information.
|
||||
echo -e -n "# Changelog\n\n## $chart_version ($(date +'%Y-%m-%d'))\n\n* ${{ github.event.pull_request.title }} ([#${{ github.event.number }}](${{ github.server_url }}/${{ github.repository }}/pulls/${{ github.event.number }}))\n" > ${changelog_file}
|
||||
mv ${changelog_tmp} ${changelog_file}
|
||||
cat ${changelog_tmp} >> ${changelog_file}
|
||||
if git status -s | grep "bitnami/${CHART}/CHANGELOG.md"; then
|
||||
git add "bitnami/${CHART}/CHANGELOG.md" && git commit -m "Update CHANGELOG.md" --signoff
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user