File tree 5 files changed +8
-5
lines changed
5 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"path"
25
25
"strings"
26
26
27
- "github.com/goreleaser/goreleaser-pro/pkg/config"
27
+ "github.com/goreleaser/goreleaser-pro/v2/ pkg/config"
28
28
)
29
29
30
30
const ArmArch = "arm"
@@ -51,6 +51,7 @@ func Generate(dist string) config.Project {
51
51
Signs : Sign (),
52
52
DockerSigns : DockerSigns (),
53
53
SBOMs : SBOM (),
54
+ Version : 2 ,
54
55
}
55
56
}
56
57
@@ -112,7 +113,7 @@ func WinPackages(dist string) []config.MSI {
112
113
// https://goreleaser.com/customization/msi/
113
114
func WinPackage (dist string ) config.MSI {
114
115
return config.MSI {
115
- ID : dist ,
116
+ ID : dist ,
116
117
Name : fmt .Sprintf ("%s_{{ .Version }}_{{ .Os }}_{{ .MsiArch }}" , dist ),
117
118
WXS : "windows-installer.wxs" ,
118
119
Files : []string {
Original file line number Diff line number Diff line change 1
1
partial :
2
2
by : target
3
+ version : 2
3
4
project_name : opentelemetry-collector-releases
4
5
env :
5
6
- COSIGN_YES=true
Original file line number Diff line number Diff line change 1
1
partial :
2
2
by : target
3
+ version : 2
3
4
project_name : opentelemetry-collector-releases
4
5
env :
5
6
- COSIGN_YES=true
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-releases
3
3
go 1.22
4
4
5
5
require (
6
- github.com/goreleaser/goreleaser-pro v1.25.1 -pro
6
+ github.com/goreleaser/goreleaser-pro/v2 v2.1.0 -pro
7
7
gopkg.in/yaml.v3 v3.0.1
8
8
)
9
9
Original file line number Diff line number Diff line change 1
1
github.com/creack/pty v1.1.9 /go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E =
2
- github.com/goreleaser/goreleaser-pro v1.25.1 -pro h1:NOoSx96oAK0zNA1+hiL0p6pY1DWL101kwPmpmkiExXk =
3
- github.com/goreleaser/goreleaser-pro v1.25.1 -pro/go.mod h1:7q9HURJC4ZYBT9VyX3XlqjK0kwe5QbG/VIUAJSP3CKc =
2
+ github.com/goreleaser/goreleaser-pro/v2 v2.1.0 -pro h1:9SYFXdnxoLB/8RRazytwFjKg/+394hjVplm7YLcXpQ8 =
3
+ github.com/goreleaser/goreleaser-pro/v2 v2.1.0 -pro/go.mod h1:GA7Uzk7qKA3efeDmgfWwcMTrDJe+V7D6H5RMqXlFvuc =
4
4
github.com/kr/pretty v0.2.1 /go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI =
5
5
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE =
6
6
github.com/kr/pretty v0.3.1 /go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk =
You can’t perform that action at this time.
0 commit comments