Debian Codegraph @

.goreleaser.yml

raw symbols SCIP
1 # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2
3 version: 2
4
5 project_name: gittuf
6
7 builds:
8 - id: gittuf
9 mod_timestamp: '{{ .CommitTimestamp }}'
10 env:
11 - CGO_ENABLED=0
12 flags:
13 - -trimpath
14 goos:
15 - linux
16 - darwin
17 - freebsd
18 - windows
19 goarch:
20 - amd64
21 - arm64
22 ldflags:
23 - "-s -w"
24 - "-extldflags=-zrelro"
25 - "-extldflags=-znow"
26 - "-buildid= -X github.com/gittuf/gittuf/internal/version.gitVersion={{ .Version }}"
27
28 - id: git-remote-gittuf
29 mod_timestamp: '{{ .CommitTimestamp }}'
30 main: ./internal/git-remote-gittuf
31 binary: git-remote-gittuf
32 env:
33 - CGO_ENABLED=0
34 flags:
35 - -trimpath
36 goos:
37 - linux
38 - darwin
39 - freebsd
40 - windows
41 goarch:
42 - amd64
43 - arm64
44 ldflags:
45 - "-s -w"
46 - "-extldflags=-zrelro"
47 - "-extldflags=-znow"
48 - "-buildid= -X github.com/gittuf/gittuf/internal/version.gitVersion={{ .Version }}"
49
50 archives:
51 - id: binary
52 formats: ['binary']
53 allow_different_binary_count: true
54
55 # This section defines how gittuf releases are automatically sent to WinGet as
56 # pull requests.
57 # Configuration inspired from that of the Minder project:
58 # https://github.com/mindersec/minder/blob/main/.goreleaser.yaml
59 winget:
60 - name: gittuf
61 publisher: gittuf
62 license: Apache-2.0
63 license_url: "https://github.com/gittuf/gittuf/blob/main/LICENSE"
64 copyright: The gittuf Authors
65 homepage: https://gittuf.dev/
66 short_description: 'A security layer for Git repositories'
67 publisher_support_url: "https://github.com/gittuf/gittuf/issues"
68 package_identifier: "gittuf.gittuf"
69 url_template: "https://github.com/gittuf/gittuf/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
70 skip_upload: auto
71 release_notes: "https://github.com/gittuf/gittuf/blob/main/CHANGELOG.md#v{{ .Major }}{{ .Minor }}{{ .Patch }}"
72 ids:
73 - gittuf
74 tags:
75 - git
76 - git-security
77 - gittuf
78 commit_author:
79 name: openssf-robot
80 email: [email protected]
81 goamd64: v1
82 repository:
83 owner: gittuf
84 name: winget-pkgs
85 branch: "gittuf-{{.Version}}"
86 token: "{{ .Env.WINGET_GITHUB_TOKEN }}"
87 pull_request:
88 enabled: true
89 draft: false
90 base:
91 owner: microsoft
92 name: winget-pkgs
93 branch: master
94 - name: git-remote-gittuf
95 publisher: gittuf
96 license: Apache-2.0
97 license_url: "https://github.com/gittuf/gittuf/blob/main/LICENSE"
98 copyright: The gittuf Authors
99 homepage: https://gittuf.dev/
100 short_description: "gittuf's custom Git remote transfer protocol binary"
101 publisher_support_url: "https://github.com/gittuf/gittuf/issues"
102 package_identifier: "gittuf.git-remote-gittuf"
103 url_template: "https://github.com/gittuf/gittuf/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
104 skip_upload: auto
105 release_notes: "https://github.com/gittuf/gittuf/blob/main/CHANGELOG.md#v{{ .Major }}{{ .Minor }}{{ .Patch }}"
106 ids:
107 - git-remote-gittuf
108 tags:
109 - git
110 - git-security
111 - gittuf
112 commit_author:
113 name: openssf-robot
114 email: [email protected]
115 goamd64: v1
116 repository:
117 owner: gittuf
118 name: winget-pkgs
119 branch: "git-remote-gittuf-{{.Version}}"
120 token: "{{ .Env.WINGET_GITHUB_TOKEN }}"
121 pull_request:
122 enabled: true
123 draft: false
124 base:
125 owner: microsoft
126 name: winget-pkgs
127 branch: master
128
129 gomod:
130 proxy: true
131
132 changelog:
133 disable: true
134
135 checksum:
136 name_template: "checksums.txt"
137
138 signs:
139 - cmd: cosign
140 env:
141 - COSIGN_YES=true
142 signature: '${artifact}.sigstore.json'
143 args:
144 - sign-blob
145 - '${artifact}'
146 - '--bundle=${signature}'
147 artifacts: checksum
148 output: true
149
150 source:
151 enabled: true
152 name_template: "{{ .ProjectName }}.src"
153
154 sboms:
155 - artifacts: archive
156 - id: source
157 artifacts: source
158
159 release:
160 prerelease: allow
161 github:
162 owner: gittuf
163 name: gittuf
164 draft: true