Skip to content

Commit

Permalink
Check st2client README.rst syntax before uploading to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Mar 4, 2021
1 parent 201ec61 commit de845a4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions actions/pypi_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ if [ "${REPO}" != "${PROJECT}" ]; then
cd ./${PROJECT}
fi

echo "Checking README.rst syntax"
python3 -m venv venv-st2client-readme-checker
. venv-st2client-readme-checker/bin/activate
pip install --upgrade readme_renderer
python -m readme_renderer README.rst
deactivate

echo "Currently at directory `pwd`..."
sudo pip install -U twine wheel
Expand Down

0 comments on commit de845a4

Please sign in to comment.