-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.goreleaser.yml
More file actions
53 lines (47 loc) · 1.07 KB
/
.goreleaser.yml
File metadata and controls
53 lines (47 loc) · 1.07 KB
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
# .goreleaser.yml
version: 2
project_name: spark
builds:
- id: spark
binary: spark
main: ./spark.go
env:
- CGO_ENABLED=0
goos:
- windows
- darwin
- linux
- freebsd
goarch:
- amd64
- 386
- arm
- arm64
goarm:
- "7"
ignore:
- goos: windows
goarch: arm
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
archives:
- id: spark
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Tag }}-next"
release:
# In order for release to work, you need to export a GITHUB_TOKEN environment variable.
# https://goreleaser.com/ci/actions/
# renovate: datasource=github-releases depName=goreleaser/goreleaser
github:
owner: rif
name: spark
prerelease: auto