forked from slingdata-io/sling-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
49 lines (42 loc) · 971 Bytes
/
.goreleaser.yml
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
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=0
tags:
- fts5
goos:
- linux
- darwin
goarch:
- amd64
- arm64
ldflags:
- "-X 'github.com/slingdata-io/sling-cli/core.Version={{.Version}}-timeplus'"
git:
prerelease_suffix: "-rc"
archives:
- format: zip
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
algorithm: sha256
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
prerelease: auto
github:
owner: timeplus-io
name: sling-cli