Skip to content

Refresh vendored build tooling from upstream - #47

Merged
norman-abramovitz merged 2 commits into
masterfrom
vendor-refresh
Jul 31, 2026
Merged

Refresh vendored build tooling from upstream#47
norman-abramovitz merged 2 commits into
masterfrom
vendor-refresh

Conversation

@norman-abramovitz

Copy link
Copy Markdown
Contributor

Refreshes the vendored mk/ tooling from upstream GNUMakefile-Snippets main (bump.mk, changelog.mk, go-release.mk, version.mk; help.mk and security.mk were already current). Three improvements arrive:

  1. make publish resolves the tag that exists instead of deriving the next version — a bare tag-then-publish previously computed one release ahead and aborted on --verify-tag having published nothing (hit live releasing v1.24.1). The deletion verbs (untag/unpublish) now require an explicit TAG= rather than guessing.
  2. make changelog-deps / changelog-deps-check — drafts release-notes fragments from dependency bumps landed since the last release, and reports when bumps aren't covered by any fragment. Relevant here now that Dependabot's action updates arrive as one grouped weekly PR.
  3. v- tag-scheme support (for majors that outrun the module path) — inert in this repo: a v1 module keeps plain v tags.

Verified against this repo's real tags:

make check test-race changelog-check   # all pass
make tag DRYRUN=yes                    # derives v1.24.2 (next)
make publish DRYRUN=yes                # resolves v1.24.1 (existing), --notes-from-tag
make unpublish                         # errors: name the tag explicitly
make changelog-deps-check              # 0 dependency bump(s) in v1.24.1..HEAD
make bump dev DRYRUN=yes               # v1.24.1 -> v1.25.0-dev.1

Also carries the v1.24.1 fragment-sweep commit, riding along with the next PR as make changelog-sweep instructs.

Brings in three upstream improvements: publish resolves the tag that
exists instead of deriving the next one (a bare tag-then-publish
aborted on --verify-tag having published nothing — hit releasing
v1.24.1), the deletion verbs require an explicit TAG rather than
guessing, and changelog-deps drafts release-notes fragments from
dependency bumps landed since the last release — relevant now that
Dependabot's action updates arrive as one grouped weekly PR. Also
carries the v- tag-scheme support, inert here: a v1 module keeps
plain v tags.

help.mk and security.mk were already current. Verified against this
repo's real tags: tag derives v1.24.2, publish resolves v1.24.1 with
notes-from-tag, bump still maps v1.24.1 to v1.25.0-dev.1.
@norman-abramovitz
norman-abramovitz merged commit 408f727 into master Jul 31, 2026
6 checks passed
@norman-abramovitz
norman-abramovitz deleted the vendor-refresh branch July 31, 2026 15:14
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