Skip to content

Commit

Permalink
ci: Use "skip_existing: true" for TestPyPi. Avoid warning about long_…
Browse files Browse the repository at this point in the history
…description_content_type. Fix MANIFEST.in.
  • Loading branch information
jpmckinney committed Apr 10, 2021
1 parent 8c30251 commit cc91a37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs Makefile
recursive-include tests *.json
recursive-include tests *.md
recursive-include tests *.py
recursive-include tests *.yaml
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
license='BSD',
packages=find_packages(exclude=['tests', 'tests.*']),
long_description=long_description,
long_description_content_type='text/x-rst',
install_requires=[
'jsonref',
'requests',
Expand Down

0 comments on commit cc91a37

Please sign in to comment.