chore: add goexports to the archive.

This commit is contained in:
Ludovic Fernandez
2019-08-01 10:46:04 +02:00
committed by Traefiker Bot
parent 458e8e911a
commit a89a8b9ce4
2 changed files with 37 additions and 9 deletions

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@
cmd/goexports/goexports
example/inception/inception
_test/tmp/
/dist

View File

@@ -1,7 +1,8 @@
project_name: yaegi
builds:
- binary: yaegi
- id: yaegi
binary: yaegi
main: ./cmd/yaegi/yaegi.go
goos:
@@ -25,6 +26,31 @@ builds:
- goos: darwin
goarch: 386
- id: goexports
binary: goexports
main: ./cmd/goexports/goexports.go
goos:
- darwin
- linux
# - windows
- freebsd
- openbsd
- solaris
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 7
- 6
- 5
ignore:
- goos: darwin
goarch: 386
changelog:
sort: asc
filters:
@@ -35,11 +61,12 @@ changelog:
- '^test:'
- '^tests:'
archive:
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
archives:
- id: archive
name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format: tar.gz
format_overrides:
- goos: windows
format: zip
files:
- LICENSE