Commit Graph
100 Commits
Author SHA1 Message Date
lukaszraczylo 1857cd9cf6 Update golang version 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.
2026-05-22 23:34:58 +01: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.
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 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
lukaszraczylo 5f205e9856 fixup! fixup! fix(config-release): remove hardcoded version and commit overrides 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. 2025-12-15 13:37:07 +00:00
lukaszraczylo 49a46a74c1 Add signing of the builds. 2025-12-15 00:43:42 +00:00
lukaszraczylo 3a48a67c75 Improve calculation logic, add ability to strip prefixes. 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]>
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) 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. 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. 2025-12-07 16:23:19 +00:00
lukaszraczylo 7a70ed6614 fixup! fixup! fixup! fixup! fixup! Move updater to REST api. 2025-12-07 16:09:36 +00:00
lukaszraczylo f9a18995d0 fixup! fixup! fixup! fixup! Move updater to REST api. 2025-12-07 15:59:21 +00:00
lukaszraczylo 66756b6772 fixup! fixup! fixup! Move updater to REST api. 2025-12-07 15:42:15 +00:00
lukaszraczylo a0f1ab6930 fixup! fixup! Move updater to REST api. 2025-12-07 15:36:03 +00:00
lukaszraczylo b80929ff52 fixup! Move updater to REST api. 2025-12-07 15:31:03 +00:00
lukaszraczylo be189187ba Move updater to REST api. 2025-12-07 15:28:37 +00:00
lukaszraczylo 336d8cc163 Move to shared github actions and goreleaser 2025-12-07 15:11:16 +00:00
lukaszraczyloandGitHub 41cdd6dcc4 Update runner version to ubuntu-latest 2025-11-23 14:57:25 +00:00
lukaszraczylo 4ca7dd413c fixup! Merge pull request #52 from lukaszraczylo/additional-improvements 2025-02-25 20:04:17 +00:00
lukaszraczyloandGitHub a9dfd9e000 Merge pull request #52 from lukaszraczylo/additional-improvements
additional improvements
2025-02-25 19:59:50 +00:00
lukaszraczylo 3a528b83d9 Enhance the codebase and test coverage. 2025-02-25 19:56:28 +00:00
lukaszraczylo 942e648d56 Refactor the code to use more modular and testable approach. 2025-02-25 19:11:19 +00:00
lukaszraczylo 5964da3cef Fix debug output for logging. 2025-02-17 09:34:05 +00:00
lukaszraczylo a999dcc328 Improve test coverage. 2025-02-08 02:06:12 +00:00
lukaszraczylo 38b1869177 Add support for the blacklisting 2025-02-08 01:55:10 +00:00
lukaszraczylo 925c4f5abe Change priority of the commit messages to follow the order:
Major version changes (breaking changes)
Minor version changes (features)
Release candidate changes
Patch version changes (fixes)
2025-02-08 01:51:48 +00:00
lukaszraczylo ebcffd219f Set respect existing tags default to true. 2025-02-08 01:48:17 +00:00
lukaszraczylo 2771fb826b Fix static checks. 2025-02-07 09:24:43 +00:00
lukaszraczylo c8dba1132e fixup! Add debug mode parameter. 2024-08-22 22:54:23 +01:00
lukaszraczylo d4b99cb84e Add debug mode parameter. 2024-08-22 22:41:11 +01:00
lukaszraczylo f00399804b Improvement: Use current directory ( be more self hosted runner friendly ) 2024-08-22 22:17:42 +01:00
lukaszraczyloandGitHub 08fff358b4 Update entrypoint.sh 2024-08-22 20:18:53 +01:00
lukaszraczyloandGitHub df00bc19bc Update autoupdate.yaml 2024-07-31 16:34:05 +01:00
lukaszraczyloandGitHub 82a520b858 Update autoupdate.yaml 2024-07-31 16:31:27 +01:00
lukaszraczyloandGitHub d1987d08bc Update autoupdate.yaml 2024-07-31 16:29:11 +01:00
lukaszraczylo eb513ca5f9 Add autoupdate workflow 2024-07-23 16:11:17 +01:00
lukaszraczylo f51cb018cf Update dependencies. 2024-07-23 12:14:17 +01:00
lukaszraczylo 3d75e166af Update dependencies. 2024-05-04 21:56:57 +01:00
lukaszraczylo 6c1281a87b Update dependencies. 2024-05-04 21:21:57 +01:00
lukaszraczylo e709f61317 fixup! fixup! Move to distroless images. 2024-02-08 20:40:40 +00:00
lukaszraczylo c49e94b36a fixup! Move to distroless images. 2024-02-08 20:38:53 +00:00
lukaszraczylo dead601864 Move to distroless images. 2024-02-08 17:08:18 +00:00
lukaszraczylo eea0b9031d Update all the dependencies. 2024-01-09 10:23:51 +00:00
lukaszraczyloandGitHub c8759d43e9 Merge pull request #39 from lukaszraczylo/dependabot/go_modules/github.com/cloudflare/circl-1.3.7
Bump github.com/cloudflare/circl from 1.3.5 to 1.3.7
2024-01-09 09:32:35 +00:00
lukaszraczyloandGitHub 129acb3cfe Create dependabot.yml 2023-10-20 10:19:00 +01:00
lukaszraczylo ca3d1b6da0 Use well tested logging sub-library. 2023-10-20 10:15:26 +01:00
lukaszraczyloandGitHub 3c96bdd3c2 Merge pull request #24 from lukaszraczylo/updates
Dependencies updates and bit of a speedup
2023-10-20 09:44:06 +01:00
lukaszraczylo b999885e0e Ignore action configuration. 2023-10-20 09:43:20 +01:00
lukaszraczylo 5e945c4ba0 Force use of the docker container instead of building the image on the fly. 2023-10-20 09:42:31 +01:00
lukaszraczylo e8742c29b5 Force Go 1.21 2023-10-20 09:31:24 +01:00
lukaszraczylo e168e99151 Hotfix: Invalid golang version in go mod [?] 2023-09-06 09:36:13 +01:00
lukaszraczylo e54b3d339b Update dependencies [maintenance release] 2023-09-06 09:32:46 +01:00
lukaszraczylo 403b3f115f Update dependencies. 2023-05-26 16:38:26 +01:00
lukaszraczylo 76fdbd6f50 fixup! Merge pull request #22 from lukaszraczylo/add-branch-support 2023-05-09 13:57:57 +01:00
lukaszraczyloandGitHub 67d110295f Merge pull request #22 from lukaszraczylo/add-branch-support
Modify tests to reflect addition of the branch flag.
2023-05-09 11:20:17 +00:00
lukaszraczyloandGitHub 5c63edcc2e Merge pull request #21 from username-dorf/feat/branch-support
Add branch support for remote repository
2023-05-09 11:19:54 +00:00
lukaszraczylo 1bf33c3a65 Modify tests to reflect addition of the branch flag. 2023-05-09 12:14:49 +01:00
lukaszraczylo 9e333c7a45 Update dependencies. 2023-04-11 13:53:17 +01:00
lukaszraczylo 80e669e5b5 Update dependencies. 2023-04-08 21:41:53 +01:00
lukaszraczylo fd32148a53 Update dependency. 2023-04-08 02:21:18 +01:00
lukaszraczylo 0fa3b15a5c Update dependencies, move gjson -> ask 2023-04-08 01:42:01 +01:00
lukaszraczylo 6a34323712 Update dependencies. 2023-03-31 15:37:53 +01:00
lukaszraczylo eeba71c954 Enforce go version 1.20.2 2023-03-31 15:35:37 +01:00
lukaszraczylo a73dd78bd5 Decrease memory footprint by realigning struct members. 2023-03-31 15:34:49 +01:00
lukaszraczylo 817fb91dba Add support for additional flags
Supported flags:
* -e - respect existing tags
* -s - strict matching
2023-03-30 13:53:18 +01:00
lukaszraczyloandGitHub 601f486b60 Merge pull request #18 from lukaszraczylo/dependabot/go_modules/golang.org/x/net-0.7.0
bump golang.org/x/net from 0.5.0 to 0.7.0
2023-02-19 16:15:34 +00:00
lukaszraczylo 9e54d213a7 Update github actions to use latest versions. 2023-02-02 10:33:59 +00:00
lukaszraczylo acdc87db7d Fix typo on semantic version output setup. 2023-02-02 10:20:47 +00:00
lukaszraczylo 5aaaf3c599 fixup! Build docker image only after binary build succeeded. 2023-02-02 10:02:31 +00:00
lukaszraczylo de8d0dba1d Build docker image only after binary build succeeded. 2023-02-02 09:58:07 +00:00
lukaszraczylo b51ea576a3 fixup! fixup! Fix pipefail in entrypoint.sh 2023-02-02 09:56:42 +00:00
lukaszraczylo a1c81c7120 fixup! Fix pipefail in entrypoint.sh 2023-02-02 09:45:44 +00:00
lukaszraczylo 2f78fd46ef Fix pipefail in entrypoint.sh 2023-02-02 09:38:50 +00:00
lukaszraczylo ecd0363c45 Update build action and issue of the v1 release. 2023-02-02 09:35:25 +00:00
lukaszraczylo 2405a93eb2 Update codecov action v1->v3 2023-01-16 18:16:58 +00:00
lukaszraczylo c97f47c48b fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Switch to goreleaser. 2023-01-16 18:09:56 +00:00
lukaszraczylo 8217ece82d fixup! fixup! fixup! fixup! fixup! fixup! fixup! Switch to goreleaser. 2023-01-16 17:58:10 +00:00
lukaszraczylo c601de437d fixup! fixup! fixup! fixup! fixup! fixup! Switch to goreleaser. 2023-01-16 17:55:05 +00:00
lukaszraczylo c03086e36c fixup! fixup! fixup! fixup! fixup! Switch to goreleaser. 2023-01-16 17:49:15 +00:00
lukaszraczylo b20a9f8eb7 fixup! fixup! fixup! fixup! Switch to goreleaser. 2023-01-16 17:36:05 +00:00
lukaszraczylo 19fd1d8d3e fixup! fixup! fixup! Switch to goreleaser. 2023-01-16 17:23:47 +00:00
lukaszraczylo 37a6482e74 fixup! fixup! Switch to goreleaser. 2023-01-16 17:11:47 +00:00
lukaszraczylo 9c1e1f2217 fixup! Switch to goreleaser. 2023-01-16 17:11:12 +00:00