From 5d0e5bd2841b58c37eb5a2ef23180a8a66034331 Mon Sep 17 00:00:00 2001 From: Peter Goetz Date: Fri, 1 Feb 2019 15:29:12 +0100 Subject: [PATCH] Add .goreleaser.yml --- .gitignore | 2 ++ .goreleaser.yml | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .goreleaser.yml diff --git a/.gitignore b/.gitignore index 0c1ac6d..a8b83fd 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ debug.test *.coverprofile .idea *.iml +dist +pegomock/pegomock diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..0b86986 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,26 @@ +# This is an example goreleaser.yaml file with some sane defaults. +# Make sure to check the documentation at http://goreleaser.com +builds: +- main: ./pegomock/main.go + env: + - CGO_ENABLED=0 + goos: + - darwin + - linux + - windows + goarch: + - amd64 + +archive: + replacements: + # darwin: Darwin + # linux: Linux + # windows: Windows + amd64: x86_64 + files: + - none* + format: binary +checksum: + name_template: 'checksums.txt' +changelog: + skip: true