From f6921101ce83fb7a04b58cdbe8e25f0d3d048aea Mon Sep 17 00:00:00 2001 From: Austin Moody Date: Thu, 7 Apr 2022 20:33:35 -0400 Subject: [PATCH] adding goreleaser --- .gitignore | 2 ++ .goreleaser.yaml | 32 ++++++++++++++++++++++++++++++++ go.mod | 2 +- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .goreleaser.yaml diff --git a/.gitignore b/.gitignore index a854438..e9982bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /**/.idea/* + +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..6f8696c --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,32 @@ +# This is an example .goreleaser.yml file with some sensible defaults. +# Make sure to check the documentation at https://goreleaser.com +before: + hooks: + # You may remove this if you don't use go modules. + - go mod tidy + # you may remove this if you don't need go generate + - go generate ./... +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin +archives: + - replacements: + darwin: Darwin + linux: Linux + windows: Windows + 386: i386 + amd64: x86_64 +checksum: + name_template: 'checksums.txt' +snapshot: + name_template: "{{ incpatch .Version }}-next" +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:' diff --git a/go.mod b/go.mod index 0940439..e7dccfe 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/austinmoody/mockaroo2hl7v2 go 1.18 -require github.com/google/uuid v1.3.0 +require github.com/google/uuid v1.3.0