Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
salt-formulas
mirror
Postfix Formula
Commits
c903221e
Unverified
Commit
c903221e
authored
Jan 17, 2022
by
Imran Iqbal
Browse files
chore(semantic-release): replace broken `m2r` with `m2r2` [skip ci]
* Automated using
https://github.com/myii/ssf-formula/pull/404
parent
e3964b19
Changes
1
Show whitespace changes
Inline
Side-by-side
pre-commit_semantic-release.sh
View file @
c903221e
...
...
@@ -7,16 +7,16 @@ sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
###############################################################################
# (B) Use `m2r` to convert automatically produced `.md` docs to `.rst`
# (B) Use `m2r
2
` to convert automatically produced `.md` docs to `.rst`
###############################################################################
# Install `m2r`
pip3
install
m2r
# Install `m2r
2
`
pip3
install
m2r
2
# Copy and then convert the `.md` docs
cp
./
*
.md docs/
cd
docs/
||
exit
m2r
--overwrite
./
*
.md
m2r
2
--overwrite
./
*
.md
# Change excess `H1` headings to `H2` in converted `CHANGELOG.rst`
sed
-i
-e
'/^=.*$/s/=/-/g'
CHANGELOG.rst
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment