add goreleaser deploy to travis
This commit is contained in:
parent
fdc52a0f83
commit
760bc44547
3 changed files with 20 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
bin/
|
||||
dist/
|
12
.goreleaser.yml
Normal file
12
.goreleaser.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
builds:
|
||||
- env:
|
||||
- CGO_ENABLED=0
|
||||
main: ./cmd/tengo/main.go
|
||||
goos:
|
||||
- darwin
|
||||
- linux
|
||||
- windows
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
changelog:
|
||||
sort: asc
|
|
@ -8,3 +8,10 @@ install:
|
|||
|
||||
script:
|
||||
- make test
|
||||
|
||||
deploy:
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
script: curl -sL https://git.io/goreleaser | bash
|
||||
on:
|
||||
tags: true
|
Loading…
Reference in a new issue