Debian Codegraph @

.goreleaser.yml

raw symbols SCIP
1 # This is an example .goreleaser.yml file with some sane defaults.
2 # Make sure to check the documentation at http://goreleaser.com
3 project_name: step
4 before:
5 hooks:
6 # You may remove this if you don't use go modules.
7 - go mod download
8 # - go generate ./...
9 builds:
10 - env:
11 - CGO_ENABLED=0
12 goos:
13 - linux
14 - windows
15 - darwin
16 goarch:
17 - amd64
18 - arm
19 - arm64
20 - 386
21 - mips
22 - mips64
23 goarm:
24 - 7
25 gomips:
26 - hardfloat
27 - softfloat
28 ignore:
29 - goos: darwin
30 goarch: arm
31 - goos: darwin
32 goarch: 386
33 - goos: darwin
34 goarch: mips
35 - goos: darwin
36 goarch: mips64
37 - goos: windows
38 goarch: arm
39 - goos: windows
40 goarch: arm64
41 - goos: windows
42 goarch: 386
43 - goos: windows
44 goarch: mips
45 - goos: windows
46 goarch: mips64
47
48 flags:
49 - -trimpath
50 main: ./cmd/step/main.go
51 binary: bin/step
52 ldflags:
53 - -w -X main.Version={{.Version}} -X main.BuildTime={{.Date}}
54 archives:
55 -
56 # Can be used to change the archive formats for specific GOOSs.
57 # Most common use case is to archive as zip on Windows.
58 # Default is empty.
59 name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Version }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
60 format_overrides:
61 - goos: windows
62 format: zip
63 wrap_in_directory: "{{ .ProjectName }}_{{ .Version }}"
64 files:
65 - README.md
66 - LICENSE
67 - autocomplete/*
68 source:
69 enabled: true
70 name_template: '{{ .ProjectName }}_{{ .Version }}'
71 checksum:
72 name_template: 'checksums.txt'
73 snapshot:
74 name_template: "{{ .Tag }}-next"
75 release:
76 # Repo in which the release will be created.
77 # Default is extracted from the origin remote URL or empty if its private hosted.
78 # Note: it can only be one: either github, gitlab or gitea
79 github:
80 owner: smallstep
81 name: cli
82
83 # IDs of the archives to use.
84 # Defaults to all.
85 #ids:
86 # - foo
87 # - bar
88
89 # If set to true, will not auto-publish the release.
90 # Default is false.
91 draft: false
92
93 # If set to auto, will mark the release as not ready for production
94 # in case there is an indicator for this in the tag e.g. v1.0.0-rc1
95 # If set to true, will mark the release as not ready for production.
96 # Default is false.
97 prerelease: auto
98
99 # You can change the name of the release.
100 # Default is `{{.Tag}}`
101 #name_template: "{{.ProjectName}}-v{{.Version}} {{.Env.USER}}"
102
103 # You can disable this pipe in order to not upload any artifacts.
104 # Defaults to false.
105 #disable: true
106
107 # You can add extra pre-existing files to the release.
108 # The filename on the release will be the last part of the path (base). If
109 # another file with the same name exists, the latest one found will be used.
110 # Defaults to empty.
111 #extra_files:
112 # - glob: ./path/to/file.txt
113 # - glob: ./glob/**/to/**/file/**/*
114 # - glob: ./glob/foo/to/bar/file/foobar/override_from_previous
115 scoop:
116 # Template for the url which is determined by the given Token (github or gitlab)
117 # Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
118 # Default for gitlab is "https://gitlab.com/<repo_owner>/<repo_name>/uploads/{{ .ArtifactUploadHash }}/{{ .ArtifactName }}"
119 # Default for gitea is "https://gitea.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
120 url_template: "http://github.com/smallstep/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
121
122 # Repository to push the app manifest to.
123 bucket:
124 owner: smallstep
125 name: scoop-bucket
126
127 # Git author used to commit to the repository.
128 # Defaults are shown.
129 commit_author:
130 name: goreleaserbot
131 email: [email protected]
132
133 # The project name and current git tag are used in the format string.
134 commit_msg_template: "Scoop update for {{ .ProjectName }} version {{ .Tag }}"
135
136 # Your app's homepage.
137 # Default is empty.
138 homepage: "https://smallstep.com/"
139
140 # Skip uploads for prerelease.
141 skip_upload: auto
142
143 # Your app's description.
144 # Default is empty.
145 description: "Crypto toolkit for working with X.509, OAuth, JWT, OATH OTP, etc."
146
147 # Your app's license
148 # Default is empty.
149 license: "Apache-2.0"
150
151 #dockers:
152 # - dockerfile: docker/Dockerfile
153 # goos: linux
154 # goarch: amd64
155 # use_buildx: true
156 # image_templates:
157 # - "smallstep/step-cli:latest"
158 # - "smallstep/step-cli:{{ .Tag }}"
159 # build_flag_templates:
160 # - "--platform=linux/amd64"
161 # - dockerfile: docker/Dockerfile
162 # goos: linux
163 # goarch: 386
164 # use_buildx: true
165 # image_templates:
166 # - "smallstep/step-cli:latest"
167 # - "smallstep/step-cli:{{ .Tag }}"
168 # build_flag_templates:
169 # - "--platform=linux/386"
170 # - dockerfile: docker/Dockerfile
171 # goos: linux
172 # goarch: arm
173 # goarm: 7
174 # use_buildx: true
175 # image_templates:
176 # - "smallstep/step-cli:latest"
177 # - "smallstep/step-cli:{{ .Tag }}"
178 # build_flag_templates:
179 # - "--platform=linux/arm/v7"
180 # - dockerfile: docker/Dockerfile
181 # goos: linux
182 # goarch: arm64
183 # use_buildx: true
184 # image_templates:
185 # - "smallstep/step-cli:latest"
186 # - "smallstep/step-cli:{{ .Tag }}"
187 # build_flag_templates:
188 # - "--platform=linux/arm64/v8"