Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
P
php-formula
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
salt
php-formula
Commits
37e0b20e
Unverified
Commit
37e0b20e
authored
Jan 17, 2022
by
Imran Iqbal
Browse files
Options
Downloads
Patches
Plain Diff
chore(semantic-release): replace broken `m2r` with `m2r2` [skip ci]
* Automated using
https://github.com/myii/ssf-formula/pull/404
parent
d52f9c6d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pre-commit_semantic-release.sh
+4
-4
4 additions, 4 deletions
pre-commit_semantic-release.sh
with
4 additions
and
4 deletions
pre-commit_semantic-release.sh
+
4
−
4
View file @
37e0b20e
...
...
@@ -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
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment