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

ci: setup automatic releases #3218

Merged
merged 1 commit into from
Jan 8, 2022
Merged

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Dec 30, 2021

This PR adds automatic releases using workflow_dispatch (click-to-run).

The steps that happen (though not necessarily in this specific order) are:

  1. Update the version number in pyproject.toml
  2. Generate release notes (in docs/web/release_notes.md)
  3. Commit all changes
  4. Tag the commit
  5. Push the commit and tag
  6. Build a wheel
  7. Publish wheel and sdist to PyPI
  8. Publish a new release to github (wheel and source) using the generated release notes

Here's an example of what a release looks like:

https://github.com/cpcloud/protoletariat/releases/tag/v0.5.5

Our releases will of course have many more bullet points.

@ibis-squawk-bot
Copy link
Contributor

/condalock

@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2021

Unit Test Results

         8 files           8 suites   16m 44s ⏱️
  2 875 tests   2 805 ✔️   70 💤 0
23 000 runs  22 440 ✔️ 560 💤 0

Results for commit 68115a2.

♻️ This comment has been updated with latest results.

@cpcloud cpcloud force-pushed the autorelease branch 2 times, most recently from 4f39c02 to 986e6dd Compare December 31, 2021 15:12
@jreback jreback added ci Continuous Integration issues or PRs release labels Jan 3, 2022
@cpcloud cpcloud added this to the Next release milestone Jan 3, 2022
@cpcloud cpcloud force-pushed the autorelease branch 4 times, most recently from 863513e to 7256971 Compare January 6, 2022 11:56
@cpcloud cpcloud requested review from jreback and kszucs January 6, 2022 14:42
@cpcloud
Copy link
Member Author

cpcloud commented Jan 6, 2022

@jreback @kszucs You can get a feel for what's happening by looking at the bottom of this step: https://github.com/ibis-project/ibis/runs/4726600566?check_suite_focus=true

@cpcloud cpcloud force-pushed the autorelease branch 2 times, most recently from ff7cd2c to 92df564 Compare January 7, 2022 22:52
@cpcloud cpcloud modified the milestones: Next release, 2.x Jan 7, 2022
@cpcloud
Copy link
Member Author

cpcloud commented Jan 7, 2022

@jreback @kszucs Can you give this a review when you get a chance?

.releaserc.json Show resolved Hide resolved
.releaserc.json Show resolved Hide resolved
ci/release/dry_run.sh Show resolved Hide resolved
Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

looks neat!

@cpcloud cpcloud merged commit 68115a2 into ibis-project:master Jan 8, 2022
@cpcloud cpcloud deleted the autorelease branch January 8, 2022 17:48
@ibis-project-bot
Copy link
Contributor

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants