You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-03 00:57:43 +02:00
docs: fix typos in comments (#5246)
This commit is contained in:
@ -260,7 +260,7 @@ func TestWithDefaults(t *testing.T) {
|
||||
targets: append(go118FirstClassAdjustedTargets, "darwin_amd64_v2"),
|
||||
goBinary: "go",
|
||||
},
|
||||
"repeatin targets": {
|
||||
"repeating targets": {
|
||||
build: config.Build{
|
||||
ID: "foo3",
|
||||
Binary: "foo",
|
||||
|
@ -105,7 +105,7 @@ func TestGitLabURLsAPITemplate(t *testing.T) {
|
||||
wantHost: "gitlab.com",
|
||||
},
|
||||
{
|
||||
name: "speicifed_api_env_key",
|
||||
name: "specified_api_env_key",
|
||||
apiURL: "https://gitlab.mycompany.com",
|
||||
wantHost: "gitlab.mycompany.com",
|
||||
},
|
||||
|
@ -86,7 +86,7 @@ func urlFor(ctx *context.Context, conf config.Blob) (string, error) {
|
||||
return bucketURL, nil
|
||||
}
|
||||
|
||||
// Takes goreleaser context(which includes artificats) and bucketURL for
|
||||
// Takes goreleaser context(which includes artifacts) and bucketURL for
|
||||
// upload to destination (eg: gs://gorelease-bucket) using the given uploader
|
||||
// implementation.
|
||||
func doUpload(ctx *context.Context, conf config.Blob) error {
|
||||
|
@ -728,7 +728,7 @@ func verifySignature(tb testing.TB, ctx *context.Context, sig string, user strin
|
||||
artifact := strings.TrimSuffix(sig, filepath.Ext(sig))
|
||||
artifact = strings.TrimSuffix(artifact, "."+fakeGPGKeyID)
|
||||
|
||||
// verify signature was made with key for usesr 'nopass'
|
||||
// verify signature was made with key for user 'nopass'
|
||||
cmd := exec.Command("gpg", "--homedir", keyring, "--verify", filepath.Join(ctx.Config.Dist, sig), filepath.Join(ctx.Config.Dist, artifact))
|
||||
out, err := cmd.CombinedOutput()
|
||||
require.NoError(tb, err, string(out))
|
||||
|
@ -75,7 +75,7 @@ var BuildPipeline = []Piper{
|
||||
dist.Pipe{},
|
||||
// setup metadata options
|
||||
metadata.Pipe{},
|
||||
// creates a metadta.json files in the dist directory
|
||||
// creates a metadata.json files in the dist directory
|
||||
metadata.MetaPipe{},
|
||||
// setup gomod-related stuff
|
||||
gomod.Pipe{},
|
||||
|
@ -1495,7 +1495,7 @@ type Chocolatey struct {
|
||||
Goamd64 string `yaml:"goamd64,omitempty" json:"goamd64,omitempty"`
|
||||
}
|
||||
|
||||
// ChcolateyDependency represents Chocolatey dependency.
|
||||
// ChocolateyDependency represents Chocolatey dependency.
|
||||
type ChocolateyDependency struct {
|
||||
ID string `yaml:"id,omitempty" json:"id,omitempty"`
|
||||
Version string `yaml:"version,omitempty" json:"version,omitempty"`
|
||||
|
Reference in New Issue
Block a user