Skip to content

Commit

Permalink
release freeBSD assets, and windows archive format tar.gz -> zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Azuki-bar committed Jan 1, 2023
1 parent d44b2c1 commit 21d21bc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
17 changes: 15 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,26 @@ builds:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm64
- arm
- "386"
goarm:
- 6
- 7
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
freebsd: FreeBSD
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
dockers:
- image_templates:
- "ghcr.io/ueckoken/discotp:latest-amd64"
Expand All @@ -31,7 +44,7 @@ dockers:
goarch: amd64
build_flag_templates:
- --platform=linux/amd64
dockerfile: 'dockerfiles/release/Dockerfile'
dockerfile: "dockerfiles/release/Dockerfile"
- image_templates:
- "ghcr.io/ueckoken/discotp:latest-arm64"
- "ghcr.io/ueckoken/discotp:{{ .Tag }}-arm64"
Expand All @@ -42,7 +55,7 @@ dockers:
goarch: arm64
build_flag_templates:
- --platform=linux/arm64
dockerfile: 'dockerfiles/release/Dockerfile'
dockerfile: "dockerfiles/release/Dockerfile"
docker_manifests:
- name_template: "ghcr.io/ueckoken/discotp:latest"
image_templates:
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
github.com/gorilla/websocket v1.4.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
Expand Down
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ github.com/samber/lo v1.37.0 h1:XjVcB8g6tgUp8rsPsJ2CvhClfImrpL04YpQHXeHPhRw=
github.com/samber/lo v1.37.0/go.mod h1:9vaz2O4o8oOnK23pd2TrXufcbdbJIa3b6cstBWKpopA=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
Expand Down

0 comments on commit 21d21bc

Please sign in to comment.