You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# We need a specific GoRelease file for Windows because we don't want to use Go cross compile feature. We prefer compiling on an actual Windows.
version: 2
before:
hooks:
- go mod tidy
builds:
- id: scalingo
binary: scalingo
main: ./scalingo
goos:
- windows
goarch:
- amd64
- arm64
- 386
# Custom ldflags templates.
# https://goreleaser.com/customization/templates/
ldflags: -X main.buildstamp={{.Date}}
-X main.githash={{.FullCommit}}
archives:
- name_template: 'scalingo_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'