Skip to content

Commit

Permalink
fix go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
alt-dima committed Apr 24, 2024
1 parent b6b5585 commit 64892c7
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
before:
hooks:
- go mod tidy

builds:
# GOOS list to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
#
# Default: [ 'darwin', 'linux', 'windows' ]
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- linux
goarch:
- amd64
- arm64
goarm:
- "7"
mod_timestamp: "{{ .CommitTimestamp }}"
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}}

0 comments on commit 64892c7

Please sign in to comment.