Skip to content

Commit

Permalink
fix: test.pypi.org upload fix
Browse files Browse the repository at this point in the history
also changed some parts of the setup.py file
  • Loading branch information
201st-Luka committed Oct 1, 2023
1 parent ed7925f commit 160b704
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ jobs:
- name: Upload
run: python3 -m twine upload -u __token__ -p ${{ secrets.TEST_PYPI_TOKEN }} --repository testpypi --skip-existing dist/*
- name: Test
run: pip install -i -i https://test.pypi.org/simple/ pyclasher==$PACKAGE_VERSION
run: pip install -i https://test.pypi.org/simple/ pyclasher==$PACKAGE_VERSION
- name: Upload
run: python3 -m twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} --repository pypi dist/*
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

with open('requirements.txt') as requirements_txt:
requirements = requirements_txt.read().splitlines()
print(requirements)

with open('README.md', 'r', encoding='utf-8') as readme_md:
readme = readme_md.read()
Expand All @@ -16,7 +17,7 @@
version=pyclasher.__version__,
author='201st-Luka',
author_email='201stLuka@gmail.com',
description='pyclasher - an object-oriented wrapper client for Python '
description='PyClasher - an object-oriented wrapper client for Python '
'that provides easy access to the requested data',
long_description=readme,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 160b704

Please sign in to comment.