lockbox

password manager
Log | Files | Refs | README | LICENSE

commit d84cb350f8e08779e9dff10c53b0c0a54be7e819
parent a1fbc49388addef38cb5b954939ac20a9295eed9
Author: Sean Enck <sean@ttypty.com>
Date:   Sat, 29 Jul 2023 10:56:15 -0400

goreleaser testing

Diffstat:
M.goreleaser.yml | 40+++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 19 deletions(-)

diff --git a/.goreleaser.yml b/.goreleaser.yml @@ -1,25 +1,27 @@ -# basic goreleaser configuration ---- -archives: - - replacements: - amd64: x86_64 - darwin: Darwin - linux: Linux -before: - hooks: - - "go mod download" +# .goreleaser.yml +# Build customization +project_name: lockbox builds: - - env: + - main: cmd/main.go + env: - CGO_ENABLED=0 - - BUILDER=GoReleaser + binary: lb goos: - - linux + - windows - darwin + goarch: + - amd64 + - arm64 + goarm: + - 6 + flags: + - -trimpath -changelog: - sort: asc +archives: + - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}" + format: tar.gz + replacements: + amd64: x86_64 + darwin: macos checksum: - name_template: checksums.txt -snapshot: - name_template: "{{ .Tag }}-next" -project_name: lockbox + name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"