Repository navigation
chore: update version to 0.3.3 and enhance release automation workflow - #17
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request automates and improves the release process by adding version verification, automating Homebrew formula updates, and bumping the crate version. The most important changes are as follows:
Release process improvements:
verifyjob in.github/workflows/release.ymlto ensure that the Git tag matches the version inCargo.tomlbefore proceeding with the build, preventing accidental mismatches between released binaries and their version numbers.Cargo.tomlfrom0.3.1to0.3.3to reflect the new release.Homebrew formula automation:
formulajob to the release workflow that automatically updates the Homebrew formula (Formula/ghdash.rb) with the new version and artifact checksums, then commits and pushes the update to themainbranch.scripts/update-formula.py, which updates the formula's version and SHA256 checksums for all referenced artifacts, ensuring accuracy and preventing stale checksums. The script is run as part of the release workflow and can also be used manually.