Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a GitHub action to push releases to PyPI #98

Merged
merged 3 commits into from Jan 10, 2021
Merged

Add a GitHub action to push releases to PyPI #98

merged 3 commits into from Jan 10, 2021

Conversation

gaborfeher
Copy link
Contributor

@maxcountryman would this help with #75?
This would trigger and make a release every time a new tag is pushed that have the form of A.B.C (0.2.3 can be force pushed again to trigger.)

I've tried pushing it to test.pypi.org and it looks like this: https://test.pypi.org/project/Flask-SeaSurf-gaborfeher/
The changes in setup.py are because of errors reported by PyPI.

@gaborfeher gaborfeher mentioned this pull request Jan 6, 2021
@maxcountryman
Copy link
Owner

Thank you! I'll have a look at this over the weekend.

@gaborfeher
Copy link
Contributor Author

Thanks! FYI, this is how I tried it out on https://test.pypi.org/ :

    - name: Publish
      uses: pypa/gh-action-pypi-publish@v1.4.1
      with:
        user: __token__
        password: ${{ secrets.PYPI_API_TOKEN }}
        repository_url: https://test.pypi.org/legacy/

(last lines of publish-release.yml)

@maxcountryman
Copy link
Owner

Token has been added.

@maxcountryman maxcountryman merged commit 13ed947 into maxcountryman:master Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants