mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-31 01:53:50 +02:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
0d9d32a82a
@ -1,5 +1,5 @@
|
||||
run:
|
||||
go: "1.20"
|
||||
go: "1.21"
|
||||
timeout: 5m
|
||||
linters:
|
||||
enable:
|
||||
|
@ -10,7 +10,7 @@ By participating in this project, you agree to abide our
|
||||
Prerequisites:
|
||||
|
||||
- [Task](https://taskfile.dev/installation)
|
||||
- [Go 1.20+](https://go.dev/doc/install)
|
||||
- [Go 1.21+](https://go.dev/doc/install)
|
||||
|
||||
Other things you might need to run the tests:
|
||||
|
||||
|
@ -62,7 +62,7 @@ func goModInit(tb testing.TB) {
|
||||
tb.Helper()
|
||||
createFile(tb, "go.mod", `module foo
|
||||
|
||||
go 1.20
|
||||
go 1.21
|
||||
`)
|
||||
}
|
||||
|
||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
||||
module github.com/goreleaser/goreleaser
|
||||
|
||||
go 1.20
|
||||
go 1.21
|
||||
|
||||
require (
|
||||
code.gitea.io/sdk/gitea v0.15.1
|
||||
|
@ -205,8 +205,7 @@ func requireGoMod(tb testing.TB) {
|
||||
require.NoError(tb, err)
|
||||
require.Contains(tb, string(mod), `module foo
|
||||
|
||||
go 1.20
|
||||
`)
|
||||
go 1.21`)
|
||||
}
|
||||
|
||||
func fakeGoModAndSum(tb testing.TB, module string) {
|
||||
|
2
internal/pipe/ko/testdata/app/go.mod
vendored
2
internal/pipe/ko/testdata/app/go.mod
vendored
@ -1,3 +1,3 @@
|
||||
module testapp
|
||||
|
||||
go 1.20
|
||||
go 1.21
|
||||
|
@ -10,7 +10,7 @@ By participating in this project, you agree to abide our
|
||||
Prerequisites:
|
||||
|
||||
- [Task](https://taskfile.dev/installation)
|
||||
- [Go 1.20+](https://go.dev/doc/install)
|
||||
- [Go 1.21+](https://go.dev/doc/install)
|
||||
|
||||
Other things you might need to run the tests:
|
||||
|
||||
|
90
www/docs/static/schema.json
generated
vendored
90
www/docs/static/schema.json
generated
vendored
@ -208,17 +208,6 @@
|
||||
"strip_parent_binary_folder": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rlcp": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"description": "you can now remove this"
|
||||
},
|
||||
"files": {
|
||||
"items": {
|
||||
"$ref": "#/$defs/File"
|
||||
@ -230,6 +219,17 @@
|
||||
},
|
||||
"allow_different_binary_count": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rlcp": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"description": "you can now remove this"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -1128,10 +1128,6 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"tap": {
|
||||
"$ref": "#/$defs/RepoRef",
|
||||
"description": "use repository instead"
|
||||
},
|
||||
"repository": {
|
||||
"$ref": "#/$defs/RepoRef"
|
||||
},
|
||||
@ -1147,10 +1143,6 @@
|
||||
"caveats": {
|
||||
"type": "string"
|
||||
},
|
||||
"plist": {
|
||||
"type": "string",
|
||||
"description": "use service instead"
|
||||
},
|
||||
"install": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -1227,6 +1219,14 @@
|
||||
},
|
||||
"service": {
|
||||
"type": "string"
|
||||
},
|
||||
"tap": {
|
||||
"$ref": "#/$defs/RepoRef",
|
||||
"description": "use repository instead"
|
||||
},
|
||||
"plist": {
|
||||
"type": "string",
|
||||
"description": "use service instead"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -1417,10 +1417,6 @@
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"index": {
|
||||
"$ref": "#/$defs/RepoRef",
|
||||
"description": "use repository instead"
|
||||
},
|
||||
"repository": {
|
||||
"$ref": "#/$defs/RepoRef"
|
||||
},
|
||||
@ -1467,6 +1463,10 @@
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"index": {
|
||||
"$ref": "#/$defs/RepoRef",
|
||||
"description": "use repository instead"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -2159,10 +2159,6 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"scoop": {
|
||||
"$ref": "#/$defs/Scoop",
|
||||
"description": "use scoops insteads"
|
||||
},
|
||||
"scoops": {
|
||||
"items": {
|
||||
"$ref": "#/$defs/Scoop"
|
||||
@ -2301,10 +2297,6 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"build": {
|
||||
"$ref": "#/$defs/Build",
|
||||
"description": "use builds instead"
|
||||
},
|
||||
"force_token": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@ -2323,6 +2315,14 @@
|
||||
},
|
||||
"gitea_urls": {
|
||||
"$ref": "#/$defs/GiteaURLs"
|
||||
},
|
||||
"scoop": {
|
||||
"$ref": "#/$defs/Scoop",
|
||||
"description": "use scoops instead"
|
||||
},
|
||||
"build": {
|
||||
"$ref": "#/$defs/Build",
|
||||
"description": "use builds instead"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -2371,6 +2371,16 @@
|
||||
"$ref": "#/$defs/ExtraFile"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"disable": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -2652,10 +2662,6 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"bucket": {
|
||||
"$ref": "#/$defs/RepoRef",
|
||||
"description": "use repository instead"
|
||||
},
|
||||
"repository": {
|
||||
"$ref": "#/$defs/RepoRef"
|
||||
},
|
||||
@ -2725,6 +2731,10 @@
|
||||
},
|
||||
"goamd64": {
|
||||
"type": "string"
|
||||
},
|
||||
"bucket": {
|
||||
"$ref": "#/$defs/RepoRef",
|
||||
"description": "use repository instead"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
@ -2923,6 +2933,16 @@
|
||||
"plugs": {
|
||||
"type": "object"
|
||||
},
|
||||
"disable": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
]
|
||||
},
|
||||
"extra_files": {
|
||||
"items": {
|
||||
"$ref": "#/$defs/SnapcraftExtraFiles"
|
||||
|
Loading…
Reference in New Issue
Block a user