From 6ba5f3165ef67d2b536d5c662502317a787ab94d Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Tue, 15 Aug 2023 12:11:23 +0200 Subject: [PATCH] Get .README.html from docs branch from latest/README.html --- role-make-version-changelog.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/role-make-version-changelog.sh b/role-make-version-changelog.sh index 05109541..5739cc69 100755 --- a/role-make-version-changelog.sh +++ b/role-make-version-changelog.sh @@ -306,12 +306,10 @@ You have three options: cat "$rel_notes_file" CHANGELOG.md > .tmp-changelog fi mv .tmp-changelog 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 + git show docs:latest/README.html > .README.html + git add CHANGELOG.md .README.html { echo "docs(changelog): version $new_tag [citest skip]"; echo ""; - echo "Update changelog and README.html 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" \