Skip to content

Add safe release recipe and align project metadata - #6

Merged
nnthnn merged 2 commits into
mainfrom
feat/hulling
Nov 10, 2026
Merged

nnthnn merged 2 commits into
mainfrom
feat/hulling

Conversation

@nnthnn

@nnthnn nnthnn commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace the tag-only just release recipe with the hyprdie/hypr-recall flow: require X.Y.Z, refuse dirty trees, non-main branches, existing tags, and main out of sync with origin/main, then bump Cargo.toml, refresh Cargo.lock, run the checks, commit as Release X.Y.Z, and push the annotated tag.
  • Drop the hand-maintained CHANGELOG.md in favour of GitHub's generated release notes, which release.yml already produces.
  • Sync the crate and AUR descriptions to the Hyprland-only README/site tagline. Sway support and documentation are unchanged.

Changes

  • justfile: rewrote the release recipe to bump, check, commit, tag, and push safely.
  • Removed CHANGELOG.md and its references in Cargo.toml, CONTRIBUTING.md, README.md, and the AUR PKGBUILD.
  • 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.
  • Exercised the release recipe end-to-end in a throwaway repository: version bump, lockfile refresh, Release X.Y.Z commit, tag push, and guards for invalid versions, dirty trees, existing tags, and an out-of-sync main.

`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.
@nnthnn
nnthnn merged commit f19b473 into main Nov 10, 2026
3 checks passed
@nnthnn
nnthnn deleted the feat/hulling branch November 10, 2026 03:51
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.

1 participant