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

Automate release process #1595

Merged
merged 1 commit into from
Nov 18, 2019
Merged

Automate release process #1595

merged 1 commit into from
Nov 18, 2019

Conversation

sdispater
Copy link
Member

Pull Request Check List

  • Added tests for changed code.
  • Updated documentation for changed code.

This PR adds the automation of Poetry releases so that any maintainer can make a release without my intervention.

This workflow is triggered whenever a release tag is pushed. In detail, it does the following:

  • Build the custom releases, those needed for the official Poetry installer, for each OS
  • Create a new Github release with the tag name
  • Upload the custom releases as assets of the Github release
  • Upload both the source distribution file and the wheel file to PyPI

Note that it should work but will be properly tested for the next release since it's not possible to test it directly from the PR.

@justinmayer
Copy link
Contributor

justinmayer commented Nov 17, 2019

I love the idea of automating releases, particularly when that occurs upon pull request merge. So much so that I wrote AutoPub to accomplish exactly that. You can read more about the motivation here: https://justinmayer.com/projects/autopub/

Given that Poetry already uses GitHub Actions for CI functionality, it would be trivial to add the same auto-publication feature to this project as well. Here's an example of GitHub CI configuration that publishes to PyPI upon PR merge: https://github.com/pelican-plugins/simple-footnotes/blob/master/.github/workflows/main.yml

Just thought I'd mention this in case it's useful. Cheers!

@sdispater sdispater merged commit c05948a into master Nov 18, 2019
@sdispater sdispater deleted the release-automation branch November 18, 2019 22:14
shenek pushed a commit to shenek/poetry that referenced this pull request Dec 31, 2019
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants