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

Automatically create prelease releases on master builds #453

Merged
merged 6 commits into from
Jan 8, 2024

Conversation

reese
Copy link
Collaborator

@reese reese commented Dec 20, 2023

This adds a new GH action that runs on non-tagged master builds. It basically makes sure tests still pass, then it bumps the version tag to a new pre-patch version and runs all the release scripts to create a prerelease build. (Note that this doesn't generate an arm Darwin build -- I tried to add the runner for it and got some complaint about billing so I assume that's only a paid thing -- but it builds the x86 and arm Linux builds, which is mostly what I care about.)

The reason to do this is that it makes it far easier to iteratively pull and use new rubymt versions as we make changes. In the past, manual version bumps cause a lot of toil, so we didn't bump our rubyfmt very often. In an ideal world, we would bump even on patch versions to stay as close to HEAD as possible. Since they're prereleases, this won't cause updates to homebrew or anything -- it's only available by pulling the GH release, and we can still cut manual tag releases for homebrew releases as needed.

@reese reese force-pushed the reese-preview-builds branch 2 times, most recently from 0f83be2 to f84025d Compare December 20, 2023 03:47
@reese reese force-pushed the reese-preview-builds branch 3 times, most recently from df5a9ff to 30ee038 Compare December 20, 2023 04:43
@reese reese force-pushed the reese-preview-builds branch from 30ee038 to 6116f6f Compare December 20, 2023 05:06
@reese reese changed the title [DNM] example job for prerelease builds Automatically create prelease releases on master builds Dec 20, 2023
@reese reese force-pushed the reese-preview-builds branch from 652668c to 194bea2 Compare December 20, 2023 05:56
@reese reese force-pushed the reese-preview-builds branch 2 times, most recently from 7f8e370 to cd9cc37 Compare December 20, 2023 06:19
@reese reese requested a review from fables-tales December 20, 2023 06:26
@fables-tales fables-tales merged commit 52c8ca8 into trunk Jan 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants