chore(copier): update template https://github.com/dafyddj/copier-ssf-ci to v2.7.0

This commit is contained in:
renovate[bot]
2025-08-02 02:29:10 +00:00
committed by GitHub
parent 48bd826e72
commit 2f0db3b2aa
8 changed files with 147 additions and 215 deletions
+8 -4
View File
@@ -3,20 +3,24 @@
###############################################################################
# (A) Update `FORMULA` with `${nextRelease.version}`
###############################################################################
sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
###############################################################################
# (B) Use `m2r2` to convert automatically produced `.md` docs to `.rst`
# (B) Update `AUTHORS.md`
###############################################################################
# Install `m2r2`
pip3 install m2r2
maintainer contributor --ignore-contributors semantic-release-bot,renovate[bot]
###############################################################################
# (C) Use `m2r` to convert automatically produced `.md` docs to `.rst`
###############################################################################
# Copy and then convert the `.md` docs
cp ./*.md docs/
cd docs/ || exit
m2r2 --overwrite ./*.md
m2r --overwrite ./*.md
# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
sed -i -e '/^=.*$/s/=/-/g' CHANGELOG.rst