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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate homebrew release process #44

Merged
merged 2 commits into from Mar 25, 2020

Conversation

@chenrui333
Copy link
Contributor

chenrui333 commented Mar 25, 2020

relates to Homebrew/homebrew-core#52110

馃憢 homebrew-core maintainer in here, want to add this awesome github action to help you automate the homebrew release process.

One thing that you need to do on your end is to create a COMMITTER_TOKEN and put into github secrets settings page.

ref: https://github.com/marketplace/actions/bump-homebrew-formula

@xyproto

This comment has been minimized.

Copy link
Owner

xyproto commented Mar 25, 2020

Thanks! I'll look into this.


on:
push:
tags: '*'

This comment has been minimized.

Copy link
@chenrui333

chenrui333 Mar 25, 2020

Author Contributor

You might want to switch to use v*.*.*

@chenrui333

This comment has been minimized.

Copy link
Contributor Author

chenrui333 commented Mar 25, 2020

Right now that Github Action only supports tarball-sha256 auto-upgrade style, so in the most recent release, I have switched the formula to use tarball-sha256, which works for me in my local testing.

@xyproto xyproto merged commit ddc9327 into xyproto:master Mar 25, 2020
1 check passed
1 check passed
Travis CI - Pull Request Build Passed
Details
@xyproto

This comment has been minimized.

Copy link
Owner

xyproto commented Mar 25, 2020

Thanks, @chenrui333.

I merged the pull request and modified the version tag pattern to 1.*.*, since I'm planning to create the successor to Algernon if I ever need a new major release.

I added a new private token as a COMMITTER_TOKEN secret.

Is there any other action I need to perform in order to set this up?

@xyproto xyproto self-assigned this Mar 25, 2020
@xyproto xyproto added the enhancement label Mar 25, 2020
@chenrui333

This comment has been minimized.

Copy link
Contributor Author

chenrui333 commented Mar 25, 2020

Nope, just the token is needed.

Thanks for doing this, really excited to see how it goes!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can鈥檛 perform that action at this time.