From 1a5db7274c56a15e5859bb5183f7f758b94094ab Mon Sep 17 00:00:00 2001 From: Tim Voronov Date: Sat, 13 Oct 2018 21:30:50 -0400 Subject: [PATCH] Added support of goreleaser --- .goreleaser.yml | 25 +++++++++++++++++++++++++ Gopkg.lock | 1 + Makefile | 3 +++ 3 files changed, 29 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 00000000..02037776 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,25 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +before: + hooks: + - make +builds: +- env: + - CGO_ENABLED=0 +archive: + replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/Gopkg.lock b/Gopkg.lock index a41259fd..1ef8f18d 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -222,6 +222,7 @@ "github.com/mafredri/cdp/devtool", "github.com/mafredri/cdp/protocol/dom", "github.com/mafredri/cdp/protocol/emulation", + "github.com/mafredri/cdp/protocol/input", "github.com/mafredri/cdp/protocol/page", "github.com/mafredri/cdp/protocol/runtime", "github.com/mafredri/cdp/protocol/target", diff --git a/Makefile b/Makefile index f18a58cf..75a65ee2 100644 --- a/Makefile +++ b/Makefile @@ -41,3 +41,6 @@ lint: # go get code.google.com/p/go.tools/cmd/vet vet: go vet ${DIR_CLI}/... ${DIR_PKG}/... + +release: + goreleaser \ No newline at end of file