-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yml
47 lines (46 loc) · 1.06 KB
/
.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
version: 2
project_name: docker-machine-driver
before:
hooks:
- go mod tidy
builds:
- main: ./bin/main.go
env:
- CGO_ENABLED=0
- GO111MODULE=on
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
- -mod=vendor
ldflags:
- "-X github.com/ionos-cloud/docker-machine-driver.DriverVersion={{ .Version }}"
goos:
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm64
ignore:
- goos: darwin
goarch: '386'
binary: 'docker-machine-driver-ionoscloud'
archives:
- name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}'
format_overrides:
- goos: windows
format: zip
files: [include-only-the-binary*]
wrap_in_directory: false
checksum:
name_template: '{{ .ProjectName }}-{{ .Version }}-SHA256SUMS'
algorithm: sha256
release:
github:
owner: ionos-cloud
name: docker-machine-driver
# If you want to manually examine the release before its live, uncomment this line:
# draft: true
changelog:
disable: true