diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-10-15 18:52:27 +0200 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-10-15 18:52:27 +0200 |
| commit | 36846200df6e53723149b5f23ae78913290f6f8d (patch) | |
| tree | 16643a1ae1caf769503887126f7aab4df9937a1b /.goreleaser.yaml | |
| parent | 21c3539e183102c4c861e0eb3d2e5044336f57b2 (diff) | |
Create release pipelinev0.2.1
Diffstat (limited to '.goreleaser.yaml')
| -rw-r--r-- | .goreleaser.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..6556f68 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,32 @@ +before: + hooks: + - go mod tidy + +builds: + - main: ./cmd/flyscrape + env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm64 + +archives: + - format: tar.gz + name_template: >- + {{ .ProjectName }}_ + {{- if eq .Os "darwin" }}mac{{else}}{{ .Os }}{{ end }}_ + {{- .Arch }} + format_overrides: + - goos: windows + format: zip + +changelog: + sort: asc + filters: + exclude: + - "^docs:" + - "^test:" |