Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ builds:
goarch:
- amd64
- arm64
flags:
- -a
- -installsuffix=cgo
ldflags:
- -s -w -X main.version={{.Version}}
- -s -w -X main.version={{.Version}} -X main.buildDate={{.Date}} -X main.commitSHA={{.FullCommit}}

archives:
- formats: [ "tar.gz" ]
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.22.1] - 2026-02-28

### Fixed
- Corrected Goreleaser configuration to properly inject build metadata (`buildDate`, `commitSHA`) into the binary.

## [0.22.0] - 2026-02-28

### Added
Expand Down Expand Up @@ -388,8 +393,8 @@ If you are using `sslmode=disable` (PostgreSQL) or `tls=false` (MySQL) in produc
- Security model documentation
- Architecture documentation

[0.21.0]: https://github.com/allisson/secrets/compare/v0.20.0...v0.21.0
[0.20.0]: https://github.com/allisson/secrets/compare/v0.19.0...v0.20.0
[0.22.1]: https://github.com/allisson/secrets/compare/v0.22.0...v0.22.1
[0.22.0]: https://github.com/allisson/secrets/compare/v0.21.0...v0.22.0
[0.19.0]: https://github.com/allisson/secrets/compare/v0.18.0...v0.19.0
[0.18.0]: https://github.com/allisson/secrets/compare/v0.17.0...v0.18.0
[0.17.0]: https://github.com/allisson/secrets/compare/v0.16.0...v0.17.0
Expand Down
2 changes: 1 addition & 1 deletion cmd/app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

// Build-time version information (injected via ldflags during build).
var (
version = "v0.22.0" // Semantic version with "v" prefix (e.g., "v0.12.0")
version = "v0.22.1" // Semantic version with "v" prefix (e.g., "v0.12.0")
buildDate = "unknown" // ISO 8601 build timestamp
commitSHA = "unknown" // Git commit SHA
)
Expand Down
Loading