Skip to content

Commit

Permalink
Get .README.html from docs branch from latest/README.html
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi committed Aug 15, 2023
1 parent a33ec77 commit 42c7cff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions role-make-version-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 42c7cff

Please sign in to comment.