@@ -9,29 +9,27 @@ before:
9
9
- go test ./...
10
10
# As part of the release doc files are included as a separate deliverable for
11
11
# consumption by Packer.io. To include a separate docs.zip uncomment the following command.
12
- - make ci-release-docs
12
+ # - make ci-release-docs
13
13
# Check plugin compatibility with required version of the Packer SDK
14
14
- make plugin-check
15
15
builds :
16
16
# A separated build to run the packer-plugins-check only once for a linux_amd64 binary
17
- -
18
- id : plugin-check
19
- mod_timestamp : ' {{ .CommitTimestamp }}'
17
+ - id : plugin-check
18
+ mod_timestamp : " {{ .CommitTimestamp }}"
20
19
flags :
21
20
- -trimpath # removes all file system paths from the compiled executable
22
21
ldflags :
23
- - ' -s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
22
+ - " -s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= "
24
23
goos :
25
24
- linux
26
25
goarch :
27
26
- amd64
28
- binary : ' {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
29
- -
30
- mod_timestamp : ' {{ .CommitTimestamp }}'
27
+ binary : " {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
28
+ - mod_timestamp : " {{ .CommitTimestamp }}"
31
29
flags :
32
30
- -trimpath # removes all file system paths from the compiled executable
33
31
ldflags :
34
- - ' -s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= '
32
+ - " -s -w -X {{ .ModulePath }}/version.Version={{.Version}} -X {{ .ModulePath }}/version.VersionPrerelease= "
35
33
goos :
36
34
- netbsd
37
35
- solaris
@@ -42,24 +40,24 @@ builds:
42
40
- darwin
43
41
goarch :
44
42
- amd64
45
- - ' 386'
43
+ - " 386"
46
44
- arm
47
45
- arm64
48
46
ignore :
49
47
- goos : openbsd
50
48
goarch : arm64
51
49
- goos : darwin
52
- goarch : ' 386'
50
+ goarch : " 386"
53
51
- goos : linux
54
52
goarch : amd64
55
- binary : ' {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
53
+ binary : " {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
56
54
archives :
57
- - format : zip
58
- files :
59
- - none*
60
- name_template : ' {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}'
55
+ - format : zip
56
+ files :
57
+ - none*
58
+ name_template : " {{ .ProjectName }}_v{{ .Version }}_{{ .Env.API_VERSION }}_{{ .Os }}_{{ .Arch }}"
61
59
checksum :
62
- name_template : ' {{ .ProjectName }}_v{{ .Version }}_SHA256SUMS'
60
+ name_template : " {{ .ProjectName }}_v{{ .Version }}_SHA256SUMS"
63
61
algorithm : sha256
64
62
signs :
65
63
- artifacts : checksum
@@ -78,8 +76,8 @@ release:
78
76
# draft: true
79
77
# As part of the release doc files are included as a separate deliverable for consumption by Packer.io.
80
78
# To include a separate docs.zip uncomment the extra_files config and the docs.zip command hook above.
81
- extra_files :
82
- - glob : ./docs.zip
79
+ # extra_files:
80
+ # - glob: ./docs.zip
83
81
84
82
changelog :
85
83
skip : true
0 commit comments