feat/version #2

Merged
unkinben merged 7 commits from feat/version into master 2026-03-25 19:25:12 +11:00
Owner
No description provided.
unkinben added 5 commits 2026-03-25 17:02:27 +11:00
- var version injected at build time via -X main.version=$(VERSION)
- VERSION derives from 'git describe --tags' so built binaries show
  the exact tag (or tag+commits+sha for dirty/untagged builds)
- 'make patch/minor/major' reads the latest vX.Y.Z tag and creates
  the next one; starts from v0.0.0 if no tags exist yet
Also move .woodpecker.yaml into .woodpecker/release.yaml for consistency.
feat: Add environment secret and kubernetes serviceAccount to release pipeline
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/unit-tests Pipeline was successful
16072917f0
unkinben added 1 commit 2026-03-25 17:38:16 +11:00
feat: use gobuilder image for pre-commit
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/unit-tests Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
0ba9a3da09
- add golang on top of base image
- unkin/packer-images#44
unkinben added 1 commit 2026-03-25 17:40:43 +11:00
Fix all golangci-lint errcheck and unused warnings
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-tests Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
c4cdfd2cc1
- Wrap defer resp.Body.Close() to capture error
- Ignore json.Unmarshal error in valueAny (best-effort)
- Check enc.Encode and os.Stdout.Write return values
- Check json.NewEncoder.Encode and w.Write in test helpers
- Check os.MkdirAll and os.WriteFile errors in tests
- Check first writeDefaultConfig() call in AlreadyExists test
- Remove unused mustMarshal helper
unkinben merged commit f65864af22 into master 2026-03-25 19:25:12 +11:00
unkinben deleted branch feat/version 2026-03-25 19:25:12 +11:00
unkinben referenced this issue from a commit 2026-03-25 19:25:13 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/node-lookup#2