Skip to content

Commit

Permalink
fix the release
Browse files Browse the repository at this point in the history
  • Loading branch information
DnOberon committed Oct 15, 2019
1 parent f1704d3 commit f4a7c7a
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 17 deletions.
38 changes: 32 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 5 additions & 4 deletions dist/checksums.txt
Original file line number Diff line number Diff line change
@@ -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
19 changes: 12 additions & 7 deletions dist/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ brews:
commit_author:
name: goreleaserbot
email: goreleaser@carlosbecker.com
install: bin.install "heimdall"
goarm: "6"
scoop:
name: heimdall
Expand All @@ -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}}
Expand All @@ -52,6 +54,9 @@ archives:
linux: Linux
windows: Windows
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- licence*
- LICENCE*
Expand Down

0 comments on commit f4a7c7a

Please sign in to comment.