Commit Graph
485 Commits
Author SHA1 Message Date
lukaszraczylo f7ae4c042f ci(release): move the v1 tag onto the image pin commit
The release job moves the rolling v1 tag to the release commit. The
update-action-version job then pins action.yml to the new image in a
later commit. So v1 always pointed at a commit that pinned the
previous image, and "@v1" users ran the previous release.

The job now checks out the released commit, pushes the pin commit with
"git push origin HEAD:main", and moves v1 onto it after that push
succeeds. If main moved during the release, the push fails and v1
stays where it is. The job runs only for main, and a concurrency group
queues overlapping release runs.

Claude-Session: https://claude.ai/code/session_01Qq1gbqQek1Zjtofo4VDRdW
v1.18.2
2026-09-25 19:35:52 +01:00
lukaszraczylo e90191de4c feat(matching): add an opt-in regex keyword matching mode
Fuzzy matching compares each keyword with every word of the commit
message. A word matches if it contains the keyword's letters in order.
Thus "feat" matches "fix(delegation):" and "major" matches
"deps(majors):", which gives false minor and major versions.

The new top-level config key "matching" accepts "fuzzy" (the default)
or "regex". In regex mode every wording keyword is a Go regular
expression. The tool compiles all of them when it loads the config and
runs them against the full commit message, so "(?m)^" anchors a
pattern to the start of a line. An invalid value, an invalid pattern,
or any other config parse error in regex mode stops the tool with a
non-zero exit code. It never falls back to fuzzy matching.

Fuzzy mode does not change. The blacklist check moves into one helper
that both modes use. A replay of 15 repositories gives the same
versions as before. This change improves version precision for the
repositories that opt in.

Claude-Session: https://claude.ai/code/session_01Qq1gbqQek1Zjtofo4VDRdW
2026-09-25 19:35:48 +01:00
github-actions[bot] 9617b281a9 chore: pin action.yml Docker image to v1.17.20 2026-08-28 05:43:46 +00:00
lukaszraczyloandGitHub 6ba4a2674f Update go.mod and go.sum (#66) v1.17.20 2026-08-28 06:38:46 +01:00
github-actions[bot] e9507dd3ff chore: pin action.yml Docker image to v1.17.18 2026-08-13 03:49:16 +00:00
lukaszraczyloandGitHub b5eb8ae15a Update go.mod and go.sum (#65) v1.17.18 2026-08-13 04:43:59 +01:00
github-actions[bot] 0da4aa71e1 chore: pin action.yml Docker image to v1.17.16 2026-08-12 03:46:58 +00:00
lukaszraczyloandGitHub ca874d21e5 Update go.mod and go.sum (#64) v1.17.16 2026-08-12 04:42:16 +01:00
github-actions[bot] 4c21c3f24f chore: pin action.yml Docker image to v1.17.14 2026-08-06 04:04:54 +00:00
lukaszraczyloandGitHub 9d5b4b0b50 Update go.mod and go.sum (#63) v1.17.14 2026-08-06 05:00:15 +01:00
github-actions[bot] 8459e0ad1d chore: pin action.yml Docker image to v1.17.12 2026-07-30 05:34:31 +00:00
lukaszraczyloandGitHub c70ee7f300 Update go.mod and go.sum (#62) v1.17.12 2026-07-30 06:29:36 +01:00
github-actions[bot] 4c1896ae15 chore: pin action.yml Docker image to v1.17.10 2026-07-27 06:20:16 +00:00
lukaszraczyloandGitHub 7b6c46dcb8 Update go.mod and go.sum (#61) v1.17.10 2026-07-27 07:15:35 +01:00
github-actions[bot] 865dcfc461 chore: pin action.yml Docker image to v1.17.8 2026-07-25 05:38:22 +00:00
lukaszraczyloandGitHub a59be0efea Update go.mod and go.sum (#60) v1.17.8 2026-07-25 06:33:10 +01:00
github-actions[bot] 31808f1e6d chore: pin action.yml Docker image to v1.17.6 2026-07-16 05:34:43 +00:00
lukaszraczyloandGitHub 1b80eab874 Update go.mod and go.sum (#59) v1.17.6 2026-07-16 06:30:01 +01:00
github-actions[bot] 8040b42016 chore: pin action.yml Docker image to v1.17.4 2026-07-15 08:44:05 +00:00
lukaszraczylo 1857cd9cf6 Update golang version v1.17.4 2026-07-15 09:38:29 +01:00
lukaszraczylo 888415366a feat(telemetry): switch to SendForModule for auto-version resolution
Replace telemetry.Send(name, PKG_VERSION) with telemetry.SendForModule
so the binary reports its release version automatically from
runtime/debug.BuildInfo whenever PKG_VERSION isn't injected (e.g.
`go install` without ldflags). The goreleaser path still wins because
goreleaser's -X main.PKG_VERSION={{.Version}} populates the fallback,
but `go install github.com/lukaszraczylo/[email protected]`
users now also get the correct version without ldflag plumbing.

Bumps oss-telemetry to v0.2.1.
v1.17.3
2026-05-22 23:34:58 +01:00
github-actions[bot] dfbc4d4012 chore: pin action.yml Docker image to v1.17.1 2026-05-21 23:47:12 +00:00
lukaszraczylo dfeb03b8bb fix(semver): skip non-semver tags when picking latest existing tag
Rolling tags like 'v1' (and any other tag that doesn't parse as x.y.z
after prefix stripping) used to enter the latest-tag candidate set in
CalculateSemver. When such a tag shared a commit with a real semver tag
(e.g. v1 and v1.16.3 both pointing at the same release commit), go-git's
alphabetical tag iteration made 'v1' win, ParseExistingSemver bailed out
because '1' has only one component, and the calculator silently reset
the baseline to 0.0.0 — producing nonsense like 0.0.5 on this branch.

ListExistingTags now filters tags through a new IsParseableSemverTag
helper before recording them, so non-semver tags never participate in
latest-tag selection. The behavior change is invisible for repos that
only use proper vX.Y.Z tags, and it's covered by a new test table.
v1.17.1
2026-05-22 00:39:59 +01:00
lukaszraczylo ab52de167e fixup! docs: add Telemetry section linking to oss-telemetry opt-out docs 2026-05-22 00:09:10 +01:00
lukaszraczylo 564f39ed10 docs: add Telemetry section linking to oss-telemetry opt-out docs
Discloses the single anonymous adoption ping sent on startup and points
users to the upstream README section for full opt-out instructions
instead of duplicating the table here.
2026-05-21 04:06:20 +01:00
lukaszraczylo 99b8bf937b fix(config-release): remove hardcoded force.commit and force.minor
The hardcoded force.commit (960207e4, from 2022) combined with
force.minor: 16 made semver-generator emit deterministic versions that
already existed as tags (v1.16.1-v1.16.5), causing goreleaser to fail
with 'git tag vX was not made against commit HEAD'.

Restores the intent of 99338e8 which was undone by the later fixup
commits a77bc0c and 5f205e9.

Also fixes 2-space leading indentation.
2026-05-21 03:43:25 +01:00
lukaszraczylo b555e410cc fixup! feat: anonymous usage telemetry via oss-telemetry 2026-05-21 03:24:42 +01:00
lukaszraczylo 521e5c1ff1 feat: anonymous usage telemetry via oss-telemetry
Send a single fire-and-forget ping at startup to help track adoption
and version spread. No persistent identifiers are collected.

Opt out via any of:
  DO_NOT_TRACK=1
  OSS_TELEMETRY_DISABLED=1
  SEMVER_GENERATOR_DISABLE_TELEMETRY=1
2026-05-21 02:45:29 +01:00
lukaszraczylo a223f15e1c Update dependencies v1.16.3 2026-05-21 01:37:58 +01:00
lukaszraczylo d1b8192b78 fixup! feat: auto-pin Docker image version in action.yml after release (#58) 2026-05-21 01:31:27 +01:00
MateoandGitHub a3aed9ef93 feat: auto-pin Docker image version in action.yml after release (#58)
Add update-action-version job that automatically updates action.yml
to reference the specific Docker image version after each release.

This ensures users pinning the action version get the matching Docker
image instead of :latest.
2026-01-22 19:21:25 +00:00
lukaszraczylo 5f205e9856 fixup! fixup! fix(config-release): remove hardcoded version and commit overrides v1.16.5 2026-01-09 14:15:16 +00:00
lukaszraczylo a77bc0c7ae fixup! fix(config-release): remove hardcoded version and commit overrides 2026-01-09 14:03:20 +00:00
lukaszraczylo 99338e8527 fix(config-release): remove hardcoded version and commit overrides
- [x] Remove hardcoded major version (1)
- [x] Remove hardcoded minor version (4)
- [x] Remove hardcoded commit hash override
2026-01-09 13:58:45 +00:00
lukaszraczylo 911513c106 fixup! fix(config-release): update semantic versioning configuration 2026-01-09 13:48:52 +00:00
lukaszraczylo c2a7a4e156 fix(config-release): update semantic versioning configuration
- [x] Remove minor version override (4)
- [x] Remove commit hash reference
- [x] Add blacklist for merge commits and feature branch patterns
- [x] Add release-candidate to major wording triggers
- [x] Remove commented tag_prefixes section
2026-01-09 13:47:17 +00:00
lukaszraczylo 21b87300cc Fix the commit annotation tags. 2025-12-15 13:51:26 +00:00
lukaszraczylo 3e0a7239c4 Fix ignoring strict.force and strict.commit. v1.16.4 2025-12-15 13:37:07 +00:00
lukaszraczylo 49a46a74c1 Add signing of the builds. v1.16.2 2025-12-15 00:43:42 +00:00
lukaszraczylo 3a48a67c75 Improve calculation logic, add ability to strip prefixes. v1.16.1 2025-12-10 14:37:38 +00:00
lukaszraczyloandClaude Opus 4.5 18b9b474e0 fix: remove unnecessary verified parameter from homebrew cask
The verified parameter is only needed when the URL domain differs
from the homepage domain. Since both point to github.com, Homebrew
audit flags this as unnecessary.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
v1.15.365
2025-12-08 02:06:43 +00:00
lukaszraczylo f5a118fd1a Use shared PR workflow. 2025-12-08 02:06:43 +00:00
lukaszraczyloandGitHub a1c4133e94 Update go.mod and go.sum (#57) v1.15.362 2025-12-08 01:22:53 +00:00
lukaszraczylo 2a51752663 Trigger autoupdate. 2025-12-08 01:14:40 +00:00
lukaszraczylo 0bc848f6f4 fixup! fixup! Update binary confusion. v1.15.358 2025-12-07 16:29:21 +00:00
lukaszraczylo 8590963822 fixup! Update binary confusion. 2025-12-07 16:27:57 +00:00
lukaszraczylo f4285403f7 Update binary confusion. 2025-12-07 16:27:04 +00:00
lukaszraczylo b3d104f0a8 fixup! fixup! fixup! fixup! fixup! fixup! Move updater to REST api. v1.15.352 2025-12-07 16:23:19 +00:00
lukaszraczylo 7a70ed6614 fixup! fixup! fixup! fixup! fixup! Move updater to REST api. v1.15.350 2025-12-07 16:09:36 +00:00
lukaszraczylo f9a18995d0 fixup! fixup! fixup! fixup! Move updater to REST api. v1.15.348 2025-12-07 15:59:21 +00:00