-
Notifications
You must be signed in to change notification settings - Fork 214
/
.goreleaser.yaml
81 lines (73 loc) · 2.28 KB
/
.goreleaser.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
project_name: devbox
before:
hooks:
- go mod tidy
builds:
- main: ./cmd/devbox/main.go
binary: devbox
flags:
- -trimpath
mod_timestamp: "{{ .CommitTimestamp }}" # For reproducible builds
ldflags:
- -s -w
- -X go.jetpack.io/devbox/internal/build.Version={{.Version}}
- -X go.jetpack.io/devbox/internal/build.Commit={{.Commit}}
- -X go.jetpack.io/devbox/internal/build.CommitDate={{.CommitDate}}
- -X go.jetpack.io/devbox/internal/build.SentryDSN={{ .Env.SENTRY_DSN }}
- -X go.jetpack.io/devbox/internal/build.TelemetryKey={{ .Env.TELEMETRY_KEY }}
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- linux
- darwin
goarch:
- 386
- amd64
- arm64
- arm
goarm:
- 7
archives:
- files:
- no-files-will-match-* # Glob that does not match to create archive with only binaries.
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if eq .Arch "arm" }}v{{ .Arm }}l{{ end }}'
snapshot:
name_template: "{{ .Env.EDGE_TAG }}"
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
prerelease: auto
draft: true
github:
owner: jetify-com
name: devbox
announce:
discord:
# Whether its enabled or not.
# Defaults to false.
enabled: false
# Message template to use while publishing.
# Defaults to `{{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}`
message_template: |
**New Release: Devbox {{.Tag}}**
We just released a version {{.Tag}} of `devbox`.
Description:
{{.TagBody}}
Release: {{.ReleaseURL}}
Updating:
If you installed devbox via our recommended installer
(`curl -fsSL https://get.jetpack.io/devbox | bash`) you will get the new version
_automatically_, the next time you run `devbox`
Thanks,
jetpack.io
# Set author of the embed.
# Defaults to `GoReleaser`
author: "jetpack.io"
# Color code of the embed. You have to use decimal numeral system, not hexadecimal.
# Defaults to `3888754` - the grey-ish from goreleaser
color: "2622553" #This is the Jetpack Space color
# URL to an image to use as the icon for the embed.
# Defaults to `https://goreleaser.com/static/avatar.png`
icon_url: ""