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 release workflow #2026

Merged
merged 1 commit into from
Dec 14, 2022
Merged

Add release workflow #2026

merged 1 commit into from
Dec 14, 2022

Conversation

staticdev
Copy link
Collaborator

@staticdev staticdev commented Dec 11, 2022

Add release workflow - for it to work properly Github settings must have 2 secrets:

  • PYPI_TOKEN - to send releases to pypi.org (when version on pyproject.toml changes)
  • TEST_PYPI_TOKEN - to send non-release versions to test.pypi.org

Superseeds #2004

@staticdev staticdev added the ci Continuous Integration label Dec 11, 2022
@codecov
Copy link

codecov bot commented Dec 11, 2022

Codecov Report

Merging #2026 (879ea00) into main (5ab2fb7) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2026   +/-   ##
=======================================
  Coverage   99.54%   99.54%           
=======================================
  Files          38       38           
  Lines        3083     3083           
  Branches      733      733           
=======================================
  Hits         3069     3069           
  Misses          8        8           
  Partials        6        6           

@timothycrosley timothycrosley merged commit 0595e32 into main Dec 14, 2022
@staticdev staticdev deleted the ci/add-release-workflow branch December 14, 2022 07:12
@staticdev
Copy link
Collaborator Author

@timothycrosley looks like the token for pypi PYPI_TOKEN is not working.. I run for the first time a release but I get forbidden error:
https://github.com/PyCQA/isort/actions/runs/3716321197/jobs/6302512647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants