Skip to content

Commit

Permalink
feat(pre-commit_semantic-release.sh): install m2r without sudo
Browse files Browse the repository at this point in the history
Required for method adopted in GitLab CI.
  • Loading branch information
myii committed Dec 17, 2020
1 parent 619aaee commit 887ff39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pre-commit_semantic-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
###############################################################################

# Install `m2r`
sudo -H pip install m2r
pip3 install m2r

# Copy and then convert the `.md` docs
cp ./*.md docs/
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/default/pre-commit_semantic-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sed -i -e "s_^\(version:\).*_\1 ${1}_" FORMULA
###############################################################################

# Install `m2r`
sudo -H pip install m2r
pip3 install m2r

# Copy and then convert the `.md` docs
cp ./*.md docs/
Expand Down

0 comments on commit 887ff39

Please sign in to comment.