diff --git a/role-make-version-changelog.sh b/role-make-version-changelog.sh index 1f4b6120..05109541 100755 --- a/role-make-version-changelog.sh +++ b/role-make-version-changelog.sh @@ -306,9 +306,12 @@ You have three options: cat "$rel_notes_file" CHANGELOG.md > .tmp-changelog fi mv .tmp-changelog CHANGELOG.md - git add CHANGELOG.md + # Expecting that this script is run from the cloned auto-maintenance repo + SCRIPT_DIR="$(dirname -- "$0")" + md2html_tool=pandoc sh "$SCRIPT_DIR"/md2html.sh README.md + git add CHANGELOG.md README.html { echo "docs(changelog): version $new_tag [citest skip]"; echo ""; - echo "Create changelog update and release for version $new_tag"; } > .gitcommitmsg + echo "Update changelog and README.html for version $new_tag"; } > .gitcommitmsg git commit -s -F .gitcommitmsg rm -f .gitcommitmsg "$rel_notes_file" "$new_features_file" \ "$bug_fixes_file" "$other_changes_file" "$pr_titles_file" \