From 20b28502ff8cf36afa13bb47d55072fef34582ea Mon Sep 17 00:00:00 2001 From: Nobuhiro MIKI Date: Fri, 12 Feb 2021 22:50:51 +0900 Subject: [PATCH] ci: add goreleaser Signed-off-by: Nobuhiro MIKI --- .goreleaser.yml | 5 +++++ .travis.yml | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..efd2b49 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,5 @@ +builds: +- goos: + - linux + goarch: + - amd64 diff --git a/.travis.yml b/.travis.yml index 004238c..556cc0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,3 +24,9 @@ script: - make clean after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT +deploy: +- provider: script + skip_cleanup: true + script: curl -sL https://git.io/goreleaser | bash + on: + tags: true