!1 Merge back to master

Merge pull request !1 from dev branch
This commit is contained in:
hekk 2018-05-27 21:32:55 +08:00
parent 30c963a5f0
commit 61a1c93f0f
89 changed files with 15859 additions and 2 deletions

38
.goreleaser.yml Normal file
View file

@ -0,0 +1,38 @@
builds:
-
main: server.go
env:
- CGO_ENABLED=0
binary: quickshare
goos:
- windows
- darwin
- linux
goarch:
- amd64
archive:
name_template: "quickshare_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
format: zip
wrap_in_directory: true
replacements:
darwin: macos
linux: linux
windows: windows
amd64: x86_64
files:
- LICENSE
- README.md
- config.json
- public/*
- public/dist/*
- docs/*
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'