Commit Graph

17 Commits

Author SHA1 Message Date
Micheal Wilkinson
eb7d2798f1 test: cover unreleased template handling 2026-03-20 23:23:57 +00:00
Micheal Wilkinson
3f7edea46e feat: use reference-style links in changelog instead of inline links
Moves changelog link generation from inline heading format
  ## [1.1.0](https://...) - date
to reference-style definitions at the bottom of the file
  ## [1.1.0] - date
  ...
  [Unreleased]: https://.../src/branch/main
  [1.1.0]: https://.../releases/tag/v1.1.0

This keeps headings plain, which simplifies changelog parsing (the
awk pattern in publish/action.yml now matches without special-casing
the inline URL), and follows the canonical Keep a Changelog style.
2026-03-20 23:07:10 +00:00
Micheal Wilkinson
87059d21fd test: raise coverage with cli and internal helper tests 2026-03-20 22:41:19 +00:00
Micheal Wilkinson
71c1b81426 test: harden changelog link tests for CI env vars
Some checks failed
Push Validation / validate (push) Has been cancelled
2026-03-20 22:30:46 +00:00
Micheal Wilkinson
50e5f25329 docs: add full godoc comments for vociferate API 2026-03-20 21:49:39 +00:00
Micheal Wilkinson
8ea9acdebc feat: add changelog heading links for unreleased and releases
Some checks failed
Push Validation / validate (push) Failing after 42s
- Link Unreleased heading to repository main branch.
- Link release headings to release tag pages.
- Derive repository URL from CI metadata or origin git remote.
- Keep plain headings when repository URL cannot be resolved.
- Update tests and README usage docs for linked heading behavior.
2026-03-20 21:46:36 +00:00
Micheal Wilkinson
8c2835fe2e feat: derive recommended version from changelog; no version file required
- RecommendedTag now reads the current version from the most recent
  released section heading in the changelog (## [x.y.z] - ...) when no
  --version-file flag is given, removing the dependency on a separate
  version file for recommendation.
- When the changelog contains no prior releases, the base version
  defaults to 0.0.0, so the first recommended tag is v1.0.0 (or higher
  depending on unreleased content).
- Prepare creates the release-version file if it does not already exist,
  so new repositories do not need to pre-seed it.
- Add tests covering changelog-based version resolution, first-release
  default, and automatic file creation.
- Update README and changelog unreleased section to document the new
  behaviour.
2026-03-20 20:10:13 +00:00
Micheal Wilkinson
2646d42523 feat: default to release-version file
Some checks failed
Action Validation / validate-released-binary (amd64, ./vociferate, X64) (push) Failing after 6s
Action Validation / validate-released-binary (arm64, qemu-aarch64-static ./vociferate, ARM64) (push) Failing after 23s
Push Validation / validate (push) Successful in 52s
2026-03-20 19:32:49 +00:00
Micheal Wilkinson
8fefbf1997 refactor: rename releaseprep to vociferate 2026-03-20 19:16:51 +00:00
Micheal Wilkinson
cb6723818b chore(go): Implement unconditional prefix trim 2026-03-20 19:00:24 +00:00
Micheal Wilkinson
971a7744bf fix(releaseprep): green unchanged-version prepare 2026-03-20 18:52:34 +00:00
Micheal Wilkinson
d1d5673460 test(releaseprep): red for unchanged-version prepare 2026-03-20 18:52:33 +00:00
gitea-actions[bot]
adbcfbc1ac release: prepare v1.0.0 2026-03-20 18:34:10 +00:00
Micheal Wilkinson
f140ea1d70 feat(releaseprep): force major bump on Breaking heading 2026-03-20 18:27:09 +00:00
Micheal Wilkinson
5c0653e28e test(releaseprep): require major bump for Breaking heading 2026-03-20 18:26:54 +00:00
Micheal Wilkinson
caf0b6db76 feat(releaseprep): migrate standalone tool into vociferate 2026-03-20 18:26:11 +00:00
Micheal Wilkinson
2060af6a78 test(releaseprep): add failing migration test suite 2026-03-20 18:22:45 +00:00