feat: add semantic versioning and automated releases#51
Merged
Conversation
Adds version tracking for automated releases. Running ./gitmux.sh --version now shows 'gitmux 2.0.0'. Co-authored-by: stavxyz <hi@stav.xyz>
Creates GitHub releases automatically when GITMUX_VERSION is updated and merged to main. Uses auto-generated release notes from PR titles. Co-authored-by: stavxyz <hi@stav.xyz>
Badge auto-updates when new releases are created. Co-authored-by: stavxyz <hi@stav.xyz>
Badge displays current release version on gitmux.com. Co-authored-by: stavxyz <hi@stav.xyz>
Run 'just version' to see current GITMUX_VERSION. Co-authored-by: stavxyz <hi@stav.xyz>
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.
Summary
GITMUX_VERSION="2.0.0"to gitmux.sh with--version/-Vflag supportjust versionrecipeRelease workflow going forward
GITMUX_VERSIONin gitmux.shFirst release
Once merged, this will create v2.0.0 - the first release since July 2021 (198 commits ago!).
Workflow features
workflow_dispatchfor recoveryTest plan
./gitmux.sh --versionoutputsgitmux 2.0.0./gitmux.sh -Voutputsgitmux 2.0.0./gitmux.sh -hshows-V, --versionoptionjust versionoutputs2.0.0