filebrowser/.goreleaser.yml
1138-4EB d7c3665e2b chore(goreleaser): adapt main to refactoring (#506)
Former-commit-id: b3489300998867306df6e168ace939c8e5d02906 [formerly 9bef5d82435847fe679a298a6e0bd7ba74361f09] [formerly 4e385aea825abd7f4ee9f2eb9cdad7f6acbbe061 [formerly 3372f0546d]]
Former-commit-id: e221415d23a3f6be129fe921d429414b4199b772 [formerly 8cefe1aabe6f30fb9b415e009cce96cc3b00f019]
Former-commit-id: 17b5db1f79eb41e90fdeac2f85178f5ce777dd33
2018-08-22 13:24:34 +01:00

60 lines
968 B
YAML

project_name: filebrowser
build:
env:
- CGO_ENABLED=0
main: cli/main.go
binary: filebrowser
goos:
- darwin
- linux
- windows
- freebsd
- netbsd
- openbsd
- dragonfly
- solaris
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- 5
- 6
- 7
ignore:
- goos: darwin
goarch: 386
- goos: openbsd
goarch: arm
- goos: freebsd
goarch: arm
- goos: netbsd
goarch: arm
- goos: solaris
goarch: arm
archive:
name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
format: tar.gz
format_overrides:
- goos: windows
format: zip
release:
disable: true
dockers:
-
goos: linux
goarch: amd64
goarm: ''
image: filebrowser/filebrowser
skip_push: true
tag_templates:
- "{{ .Tag }}"
- latest
extra_files:
- Docker.json