forked from digitalocean/doctl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.beta.yml
More file actions
50 lines (45 loc) · 1.09 KB
/
Copy path.goreleaser.beta.yml
File metadata and controls
50 lines (45 loc) · 1.09 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
# Customer beta releases. Used by .github/workflows/beta-release.yml
# only — not by the public tagged-release workflow.
project_name: doctl
version: 2
builds:
- main: ./cmd/doctl/main.go
env:
- CGO_ENABLED=0
- GO111MODULE=on
flags:
- -mod=vendor
- -v
ldflags:
- -X github.com/digitalocean/doctl.Build={{ .ShortCommit }}
- -X github.com/digitalocean/doctl.Major={{ .Major }}
- -X github.com/digitalocean/doctl.Minor={{ .Minor }}
- -X github.com/digitalocean/doctl.Patch={{ .Patch }}
- -X github.com/digitalocean/doctl.Label=beta
goos:
- windows
- darwin
- linux
ignore:
- goos: darwin
goarch: 386
archives:
- name_template: "doctl-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files: [a-workaround-to-include-only-the-binary*]
wrap_in_directory: false
source:
enabled: true
name_template: 'doctl-{{ .Version }}-source'
checksum:
name_template: "doctl-{{ .Version }}-checksums.sha256"
release:
github:
owner: digitalocean
name: doctl
prerelease: true
make_latest: false
changelog:
disable: false