-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
.goreleaser.mac.yaml
57 lines (43 loc) · 1.61 KB
/
.goreleaser.mac.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
project_name: sling
before:
hooks:
- go mod edit -dropreplace='github.com/flarco/g' go.mod
- go mod edit -dropreplace='github.com/slingdata-io/sling' go.mod
- go mod edit -droprequire='github.com/slingdata-io/sling' go.mod
- go mod tidy
builds:
- main: ./cmd/sling
env:
- CGO_ENABLED=1
tags:
- fts5
goarch:
- amd64
- arm64
goos:
- darwin
ldflags:
- "-X 'github.com/slingdata-io/sling-cli/core.Version={{.Version}}' -X 'github.com/slingdata-io/sling-cli/core/env.PlausibleURL={{.Env.PLAUSIBLE_URL}}' -X 'github.com/slingdata-io/sling-cli/core/env.SentryDsn={{.Env.SENTRY_DSN}}' -X 'github.com/slingdata-io/sling/agent.Version={{.Version}}'"
universal_binaries:
- id: sling
replace: false
snapshot:
name_template: "{{ incpatch .Version }}"
checksum:
name_template: '{{ .Runtime.Goos }}.{{ .Runtime.Goarch }}.checksums.txt'
archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
release:
mode: replace
header: |
## Sling {{ .Tag }} ({{ .Date }})
brews:
- name: sling
repository:
owner: slingdata-io
name: homebrew-sling
branch: main
homepage: https://slingdata.io/
description: "Data Integration made simple, from the command line. Extract and load data from popular data sources to destinations with high performance and ease."