Repository navigation
Add safe release recipe and align project metadata - #6
Merged
Merged
Conversation
`just release 0.2.0` failed because the recipe took no arguments, so just parsed `0.2.0` as another recipe. Accept an optional version, bump Cargo.toml and Cargo.lock, commit the bump, then tag and push both. Omitting the version keeps the old tag-the-current-version behaviour.
Replace the optional-version release recipe with the hyprdie/hypr-recall flow: require X.Y.Z, refuse dirty, non-main, or out-of-sync trees, bump Cargo.toml and refresh Cargo.lock before running checks, then commit as 'Release X.Y.Z' and push the tag. Drop the hand-maintained changelog in favour of GitHub's generated release notes, removing its packaging and documentation references. Sync the crate and AUR descriptions to the Hyprland-only README/site tagline while keeping Sway support intact.
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
just releaserecipe with the hyprdie/hypr-recall flow: requireX.Y.Z, refuse dirty trees, non-mainbranches, existing tags, andmainout of sync withorigin/main, then bumpCargo.toml, refreshCargo.lock, run the checks, commit asRelease X.Y.Z, and push the annotated tag.CHANGELOG.mdin favour of GitHub's generated release notes, whichrelease.ymlalready produces.Changes
justfile: rewrote thereleaserecipe to bump, check, commit, tag, and push safely.CHANGELOG.mdand its references inCargo.toml,CONTRIBUTING.md,README.md, and the AURPKGBUILD.AGENTS.md/docs/development.md: document the release flow and generated release notes.Cargo.toml,PKGBUILD,.SRCINFO: align descriptions with the Hyprland tagline.TODO.md: remove the resolved tagline decision.Testing
just check— formatting, clippy, and 81 unit tests pass.just build— release build succeeds with--locked.Release X.Y.Zcommit, tag push, and guards for invalid versions, dirty trees, existing tags, and an out-of-syncmain.