version subcommand, and lib.version and lib.check in the flake #48
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/changelog!48
Loading…
Reference in a new issue
No description provided.
Delete branch "flake-lib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A flake can take its version and its changelog checks from this flake.
A consumer states
version = changelog.lib.version pkgs ./CHANGELOG.md;and so passesmanifest-versionby construction, with no--impureand noVERSION.Evidence
go test ./...ok (with an empty global git config: a global.*ignore hides fragments from the test repositories),golangci-lint0 issues,nix flake checkpasses.lib.checkfails on### Nonsense(unknown-section);lib.versionfails on a changelog naming no version:... names no version.nix eval .#default.versiongives0.5.5, and0.6.0afterchangelog releasefolds its fragment.Merge Danger
Door: two-way
Additions only: a subcommand and two
libattributes.Blast Radius: none
Existing actions and flags are unchanged.
Pull request closed