From a9956adcc75d3b3579d41cd2867f884cf077e896 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 24 Jun 2020 23:51:40 -0700 Subject: [PATCH] new: added goreleaser --- .gitignore | 1 + .goreleaser.yml | 14 ++++++++++++++ cmd/rego/static/bindata.go | 4 ++-- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index 62d9593..195cb2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .DS_Store .tags +dist */debug vendor diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..8075dd2 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,14 @@ +before: + hooks: + - go mod download + - go generate ./... +build: + skip: true +snapshot: + name_template: "{{ .Tag }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/cmd/rego/static/bindata.go b/cmd/rego/static/bindata.go index b05854c..e8d15cf 100644 --- a/cmd/rego/static/bindata.go +++ b/cmd/rego/static/bindata.go @@ -137,7 +137,7 @@ func templatesJsonSchemaGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/json-schema.gotpl", size: 4021, mode: os.FileMode(420), modTime: time.Unix(1574130151, 0)} + info := bindataFileInfo{name: "templates/json-schema.gotpl", size: 4021, mode: os.FileMode(420), modTime: time.Unix(1586279308, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -157,7 +157,7 @@ func templatesSpecMdGotpl() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "templates/spec-md.gotpl", size: 665, mode: os.FileMode(420), modTime: time.Unix(1563338935, 0)} + info := bindataFileInfo{name: "templates/spec-md.gotpl", size: 665, mode: os.FileMode(420), modTime: time.Unix(1593067688, 0)} a := &asset{bytes: bytes, info: info} return a, nil }