Skip to content

chore: prepare release 2.16.0 - #608

Merged
apucacao merged 2 commits into
mainfrom
release-2.16.0-clean
Jul 28, 2026
Merged

chore: prepare release 2.16.0#608
apucacao merged 2 commits into
mainfrom
release-2.16.0-clean

Conversation

@apucacao

@apucacao apucacao commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Prepares the 2.16.0 release by hand. This is the same approach taken for 2.14.0 in #563: the release workflow can publish artifacts but cannot complete a release, so the version bump lands as a normal PR and the tag, GitHub release, and downstream action update are done manually afterward.

Related to #607 — the fix being asked for there is #604. That issue stays open until the release and the downstream action update are actually out.

Why by hand

scripts/release/prepare-release.sh commits the version bump and changelog entry, then push-to-origin.sh pushes that commit straight to main. Rulesets reject it:

remote: error: GH013: Repository rule violations found for refs/heads/main
remote: - Changes must be made through a pull request.
 ! [remote rejected] HEAD -> main

This has now failed the same way three times: August 2025 (worked around manually in #563), January 2026 (#593#595, which disabled the GHA/Bitbucket/CircleCI publish targets to get a Docker-only release out), and again today. The plan stated in #563 was to move to Release Please so that releasing never pushes to main. That hasn't happened yet, so this PR follows the manual path again.

What changed

File Change
internal/version/version.go 2.14.02.16.0
CHANGELOG.md 2.16.0 entry, plus a note that 2.15.0 was never released
build/metadata/github-actions/Dockerfile image tag → 2.16.0
build/metadata/github-actions/README.md find-code-references@v2.16.0

Behavior notes

  • Numbering skips 2.15.0. January's run pushed ld-find-code-refs:2.15.0 and ld-find-code-refs-github-action:2.15.0 to Docker Hub before failing, so those tags are already taken. Releasing as 2.16.0 keeps published images immutable.
  • Docker images for 2.16.0 are already published. Today's run got as far as publish before failing, so 2.16.0 and latest are on Docker Hub, built from d2b674b with the version constant patched to 2.16.0.
  • brew install ld-find-code-refs is broken right now. That same run updated the homebrew tap formula to 2.16.0, but its download URLs point at release assets that don't exist yet. Creating the GitHub release fixes it; the shas need regenerating because the assets will come from a local build rather than the CI build.
  • Bitbucket and CircleCI metadata deliberately untouched. Those targets stopped being published in January, so bumping them would name a pipe version and orb version that were never cut.

Testing

go build ./... and go test ./aliases/... pass. Nothing here is executable code beyond the version constant.

Provenance

Rebuilt as two narrative commits on release-2.16.0-clean; the original branch is release-2.16.0. Tree hashes verified identical.

apucacao added 2 commits July 28, 2026 15:02
Bump the version constant and add the changelog entry for 2.16.0. This is
normally done by scripts/release/prepare-release.sh, which commits the same
two files and pushes them straight to main. Rulesets forbid that push, so the
release is being cut by hand — the same approach taken for 2.14.0 in #563.

The changelog notes that 2.15.0 was never released. A release run in January
2026 published its Docker images and then failed on the same push to main,
leaving no tag, release, or changelog entry behind. Numbering continues at
2.16.0 rather than reusing 2.15.0, so the published images stay immutable.
These files are the source of truth that gets copied into
launchdarkly/find-code-references at release time, so they need to name the
image tag and action version being released.

publish_gha has been commented out since January 2026, so nothing copies them
automatically right now; the downstream repo is being updated by hand to match.

Deliberately not touching build/metadata/bitbucket or build/package/circleci:
those targets are no longer published either, and bumping them would advertise
a pipe and orb version that does not exist.
@apucacao
apucacao marked this pull request as ready for review July 28, 2026 19:10
@apucacao
apucacao requested review from a team as code owners July 28, 2026 19:10
@apucacao
apucacao merged commit f7069e4 into main Jul 28, 2026
8 checks passed
@apucacao
apucacao deleted the release-2.16.0-clean branch July 28, 2026 19:21
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.

3 participants