Skip to content

Commit be4080f

Browse files
committed
removing the other builds
1 parent da54399 commit be4080f

1 file changed

Lines changed: 55 additions & 52 deletions

File tree

.goreleaser.yml

Lines changed: 55 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,36 @@ before:
1515
- make plugin-check
1616
builds:
1717
# A separated build to run the packer-plugins-check only once for a linux_amd64 binary
18-
- id: plugin-check
19-
mod_timestamp: "{{ .CommitTimestamp }}"
20-
flags:
21-
- -trimpath #removes all file system paths from the compiled executable
22-
ldflags:
23-
- "-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= "
24-
goos:
25-
- linux
26-
goarch:
27-
- amd64
28-
binary: "{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
29-
- id: linux-builds
30-
mod_timestamp: "{{ .CommitTimestamp }}"
31-
flags:
32-
- -trimpath #removes all file system paths from the compiled executable
33-
ldflags:
34-
- "-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= "
35-
goos:
36-
- linux
37-
goarch:
38-
- amd64
39-
- "386"
40-
- arm
41-
- arm64
42-
ignore:
43-
- goos: linux
44-
goarch: amd64
45-
binary: "{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
18+
# -
19+
# id: plugin-check
20+
# mod_timestamp: '{{ .CommitTimestamp }}'
21+
# flags:
22+
# - -trimpath #removes all file system paths from the compiled executable
23+
# ldflags:
24+
# - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
25+
# goos:
26+
# - linux
27+
# goarch:
28+
# - amd64
29+
# binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
30+
# -
31+
# id: linux-builds
32+
# mod_timestamp: '{{ .CommitTimestamp }}'
33+
# flags:
34+
# - -trimpath #removes all file system paths from the compiled executable
35+
# ldflags:
36+
# - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
37+
# goos:
38+
# - linux
39+
# goarch:
40+
# - amd64
41+
# - '386'
42+
# - arm
43+
# - arm64
44+
# ignore:
45+
# - goos: linux
46+
# goarch: amd64
47+
# binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
4648
- id: darwin-builds
4749
mod_timestamp: "{{ .CommitTimestamp }}"
4850
flags:
@@ -55,30 +57,31 @@ builds:
5557
- amd64
5658
- arm64
5759
binary: "{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
58-
- id: other-builds
59-
mod_timestamp: "{{ .CommitTimestamp }}"
60-
flags:
61-
- -trimpath #removes all file system paths from the compiled executable
62-
ldflags:
63-
- "-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= "
64-
goos:
65-
- netbsd
66-
- openbsd
67-
- freebsd
68-
- windows
69-
- solaris
70-
goarch:
71-
- amd64
72-
- "386"
73-
- arm
74-
ignore:
75-
- goos: windows
76-
goarch: arm
77-
- goos: solaris
78-
goarch: arm
79-
- goos: solaris
80-
goarch: "386"
81-
binary: "{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
60+
# -
61+
# id: other-builds
62+
# mod_timestamp: '{{ .CommitTimestamp }}'
63+
# flags:
64+
# - -trimpath #removes all file system paths from the compiled executable
65+
# ldflags:
66+
# - '-s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
67+
# goos:
68+
# - netbsd
69+
# - openbsd
70+
# - freebsd
71+
# - windows
72+
# - solaris
73+
# goarch:
74+
# - amd64
75+
# - '386'
76+
# - arm
77+
# ignore:
78+
# - goos: windows
79+
# goarch: arm
80+
# - goos: solaris
81+
# goarch: arm
82+
# - goos: solaris
83+
# goarch: '386'
84+
# binary: '{{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
8285
archives:
8386
- format: zip
8487
files:

0 commit comments

Comments
 (0)