chore(release): v0.4.0 #31

Closed
forgejo-actions wants to merge 1 commit from release-prep/v0.4.0 into main

Added

  • docs/conventions.md: new subsection "Choosing chore: vs feat: for internal-infrastructure changes" with the consumer-facing-surface test + the v0.2.1 cut-escalation worked instance. Helps human authors avoid the cut-escalation footgun where a chore:-shaped commit lands as feat: and pulls the next cut into a higher version lane. See #14.

Fixed

  • _release-draft.yml: inline-collapse version-normalization into the script-invocation step. Sidesteps a runtime step-skip that was leaving the script's --version empty on every release-draft cycle. See #16. Consumers must bump @v0.2.0@v0.3.1 to pick this up; the toolkit's own consumer wrapper gets bumped as part of the v0.3.1 cut.

  • tests/conventional-commits.bats: rewrite the 4 cc_parse_subject tests to compare against $output directly (with explicit boundaries) instead of ${lines[N]} indexing. Fixes 2 pre-existing failures on bats 5.2.37+ where the run wrapper collapses empty strings out of the lines array, silently shifting indices. Test logic + the function under test are unchanged. See #18.

  • tests: cc_parse_subject bats 5.2.37+ portability — closes #18

  • workflows: inline-collapse normalize-version in _release-draft.yml — closes #16

### Added - **`docs/conventions.md`**: new subsection "Choosing `chore:` vs `feat:` for internal-infrastructure changes" with the consumer-facing-surface test + the v0.2.1 cut-escalation worked instance. Helps human authors avoid the cut-escalation footgun where a `chore:`-shaped commit lands as `feat:` and pulls the next cut into a higher version lane. See [#14](https://git.frankenbit.de/frankenbit/release-toolkit/issues/14). ### Fixed - **`_release-draft.yml`**: inline-collapse version-normalization into the script-invocation step. Sidesteps a runtime step-skip that was leaving the script's `--version` empty on every release-draft cycle. See [#16](https://git.frankenbit.de/frankenbit/release-toolkit/issues/16). Consumers must bump `@v0.2.0` → `@v0.3.1` to pick this up; the toolkit's own consumer wrapper gets bumped as part of the v0.3.1 cut. - **`tests/conventional-commits.bats`**: rewrite the 4 `cc_parse_subject` tests to compare against `$output` directly (with explicit ` ` boundaries) instead of `${lines[N]}` indexing. Fixes 2 pre-existing failures on bats 5.2.37+ where the `run` wrapper collapses empty strings out of the `lines` array, silently shifting indices. Test logic + the function under test are unchanged. See [#18](https://git.frankenbit.de/frankenbit/release-toolkit/issues/18). - **tests**: cc_parse_subject bats 5.2.37+ portability — closes #18 - **workflows**: inline-collapse normalize-version in _release-draft.yml — closes #16
chore(release): prepare v0.4.0
Some checks failed
release-draft / create Forgejo draft release (pull_request) Failing after 4s
release-draft / draft (pull_request) Failing after 0s
ed5f123017
Generated by release-toolkit release-prep.sh.

Tracker: frankenbit/release-toolkit#1
quartermaster closed this pull request 2026-06-24 21:49:34 +02:00
Some checks are pending
release-draft / create Forgejo draft release (pull_request) Failing after 4s
release-draft / draft (pull_request) Failing after 0s
ac-closure-check / ac-closure check (pull_request)
Required
ac-closure-check / check (pull_request)
Required
changelog-body-check / changelog body Cold-Read linter (pull_request)
Required
changelog-body-check / check (pull_request)
Required
check-self-bootstrap / check (pull_request)
Required
fragment-check / check (pull_request)
Required
fragment-check / coverage (pull_request)
Required
fragment-check / density (pull_request)
Required
gitea-twin-check / check (pull_request)
Required
go-ci / lint + build + test (pull_request)
Required
manifest-check / check (pull_request)
Required
manifest-check / manifest-vs-tag consistency (pull_request)
Required
prep-order-check / check (pull_request)
Required
readme-pin-check / digest (pull_request)
Required
register-check / check (pull_request)
Required
register-check / register-drift check (pull_request)
Required
tests / bats (pull_request)
Required
tests / contract-paths (pull_request)
Required
tests / dated-examples (pull_request)
Required
tests / shellcheck (pull_request)
Required
tests / workflow-schema (pull_request)
Required
toolkit-self-gates / toolkit-self gates (PR's own rt) (pull_request)
Required
workflow-parse-check / check (pull_request)
Required
workflow-parse-check / toolkit-self parse guard and controls (pull_request)
Required
workflow-parse-check / workflow parse and schema (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No description provided.