diff --git a/.goreleaser.yml b/.goreleaser.yml index f88631b..c7aeded 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,13 +9,39 @@ builds: - env: - CGO_ENABLED=0 + + # GOOS list to build for. + # For more info refer to: https://golang.org/doc/install/source#environment + # Defaults are darwin and linux. + goos: + - freebsd + - windows + + # GOARCH to build for. + # For more info refer to: https://golang.org/doc/install/source#environment + # Defaults are 386 and amd64. + goarch: + - amd64 + - 386 + - arm + - arm64 + + archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - + + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 + + format_overrides: + - goos: windows + format: zip + + checksum: name_template: 'checksums.txt' snapshot: diff --git a/dist/checksums.txt b/dist/checksums.txt index b7a0d31..157f7ae 100644 --- a/dist/checksums.txt +++ b/dist/checksums.txt @@ -1,4 +1,5 @@ -d3a90ab353e77739fbdc36318485b78c7f2ea40fd9d24e24c7068ff1c3ff3a84 heimdall_1.0.0_Linux_i386.tar.gz -24c048237bbd41854492cd46df39a435c3a0334e92eb97aca3884e431577d2be heimdall_1.0.0_Darwin_i386.tar.gz -f9f143042a529768d749308c5c3b72c0644af248592631b250c3c00f46fbbebc heimdall_1.0.0_Linux_x86_64.tar.gz -4dc7313b968181674824dba87acfe240b4917ebd4939262d48b43464818e0d89 heimdall_1.0.0_Darwin_x86_64.tar.gz +7c77cb6bfb4415dc2cf03c72944bf6716903ef3b0919cc312eab9f2d1e89a281 heimdall_v1.0.1-next_freebsd_i386.tar.gz +4c01047af48a797973e8ca18bf699e2b538085ca3ca74a2619162e5a8abc62f7 heimdall_v1.0.1-next_freebsd_armv6.tar.gz +c399d20ed6327a20206d9125c3bd255009a6fbfb8d26db88cfac1990fb1af3e9 heimdall_v1.0.1-next_freebsd_x86_64.tar.gz +31cb56807e499751f3bcb67a6069f2c1a1791d586ff8d60752ec0b03560a6f4d heimdall_v1.0.1-next_Windows_x86_64.zip +fd4f8b9e711df2ef50fe7c68ec52440731976d4d7ee63c2f2e7a65bd1cbc3687 heimdall_v1.0.1-next_Windows_i386.zip diff --git a/dist/config.yaml b/dist/config.yaml index 7260e28..d8a2a3c 100644 --- a/dist/config.yaml +++ b/dist/config.yaml @@ -9,7 +9,6 @@ brews: commit_author: name: goreleaserbot email: goreleaser@carlosbecker.com - install: bin.install "heimdall" goarm: "6" scoop: name: heimdall @@ -19,18 +18,21 @@ scoop: builds: - id: heimdall goos: - - linux - - darwin + - freebsd + - windows goarch: - amd64 - "386" + - arm + - arm64 goarm: - "6" targets: - - linux_amd64 - - linux_386 - - darwin_amd64 - - darwin_386 + - freebsd_amd64 + - freebsd_386 + - freebsd_arm_6 + - windows_amd64 + - windows_386 main: . ldflags: - -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} @@ -52,6 +54,9 @@ archives: linux: Linux windows: Windows format: tar.gz + format_overrides: + - goos: windows + format: zip files: - licence* - LICENCE*