Skip to content

feat: automate releases#36

Merged
WilliamBergamin merged 3 commits intomainfrom
automated-release
Apr 3, 2024
Merged

feat: automate releases#36
WilliamBergamin merged 3 commits intomainfrom
automated-release

Conversation

@WilliamBergamin
Copy link
Contributor

Summary

This PR aims to automate the release process of the project. Creating a GitHub release will kick off a GitHub action that releases a new version of this project to pypi.

Testing

I've tested the build flow on my fork

Special notes

The automation flow follows what is implemented by the deno sdk
Review of the maintainers guide PR is greatly appreciated

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run ./scripts/install_and_run_tests.sh after making the changes.

@WilliamBergamin WilliamBergamin added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Mar 28, 2024
@WilliamBergamin WilliamBergamin self-assigned this Mar 28, 2024
Copy link
Member

@zimeg zimeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I'm a huge fan of this automation! ✈️ Leaving a few notes but nothing blocking at all!

Comment on lines +120 to +122
Releases for this library are automatically generated off of git releases. Before
creating a new release, ensure that everything on a feature branch,
[run the tests](#run-all-the-unit-tests).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The wording is a little confusing here- not super sure what should be on the feature branch 😜

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point I'll change this to stable branch?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either stable or feature would be good IMO. I was poking more at if we want to make sure "everything on a x branch has landed, then run the tests" or something else?

Copy link
Contributor

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good to me

@WilliamBergamin WilliamBergamin merged commit d9e93af into main Apr 3, 2024
@seratch seratch deleted the automated-release branch April 16, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants