diff --git a/.gitignore b/.gitignore index 6dd29b7..7773828 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -bin/ \ No newline at end of file +dist/ \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..57abb89 --- /dev/null +++ b/.goreleaser.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index 295caf7..d545268 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file