diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 67e16ec6..768efea0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -72,7 +72,7 @@ An example: docs: Add example for --release-notes flag I added an example to the docs of the `--release-notes` flag to make -the usage more clear. The example is an realistic use case and might +the usage more clear. The example is a realistic use case and might help others to generate their own changelog. See #284 diff --git a/apk/apk.go b/apk/apk.go index 147ba529..75b4f4dd 100644 --- a/apk/apk.go +++ b/apk/apk.go @@ -84,7 +84,7 @@ func ensureValidArch(info *nfpm.Info) *nfpm.Info { // nolint: gochecknoglobals var Default = &Apk{} -// Apk is a apk packager implementation. +// Apk is an apk packager implementation. type Apk struct{} func (a *Apk) ConventionalFileName(info *nfpm.Info) string { diff --git a/internal/sign/pgp.go b/internal/sign/pgp.go index a7b85dc1..300c99ca 100644 --- a/internal/sign/pgp.go +++ b/internal/sign/pgp.go @@ -79,7 +79,7 @@ func PGPArmoredDetachSignWithKeyID(message io.Reader, keyFile, passphrase string return signature.Bytes(), nil } -// PGPVerify is exported for use in tests and verifies a ASCII-armored or non-ASCII-armored +// PGPVerify is exported for use in tests and verifies an ASCII-armored or non-ASCII-armored // signature using an ASCII-armored or non-ASCII-armored public key file. The signer // identity is not explicitly checked, other that the obvious fact that the signer's key must // be in the armoredPubKeyFile. diff --git a/nfpm.go b/nfpm.go index ab6e4740..3b347e06 100644 --- a/nfpm.go +++ b/nfpm.go @@ -390,7 +390,7 @@ func Validate(info *Info) (err error) { if len(info.EmptyFolders) > 0 { deprecation.Println("'empty_folders' is deprecated and " + "will be removed in a future version, create content with type 'dir' and " + - "directoy name as 'dst' instead") + "directory name as 'dst' instead") for _, emptyFolder := range info.EmptyFolders { if contents.ContainsDestination(emptyFolder) { diff --git a/rpm/rpm.go b/rpm/rpm.go index 5cbcf74d..72c9ec51 100644 --- a/rpm/rpm.go +++ b/rpm/rpm.go @@ -162,7 +162,7 @@ func addChangeLog(info *nfpm.Info, rpm *rpmpack.RPM) error { err := tpl.Execute(&formattedNotes, entry) if err != nil { - return fmt.Errorf("formatting changlog notes: %w", err) + return fmt.Errorf("formatting changelog notes: %w", err) } changes[idx] = strings.TrimSpace(formattedNotes.String()) diff --git a/www/docs/configuration.md b/www/docs/configuration.md index a4b9a82a..ae866aaa 100644 --- a/www/docs/configuration.md +++ b/www/docs/configuration.md @@ -196,7 +196,7 @@ scripts: preremove: ./scripts/preremove.sh postremove: ./scripts/postremove.sh -# All fields above marked as `overridable` can be overriden for a given package format in this section. +# All fields above marked as `overridable` can be overridden for a given package format in this section. overrides: # The depends override can for example be used to provide version constraints for dependencies where # different package formats use different versions or for dependencies that are named differently. @@ -271,7 +271,7 @@ deb: # Custom deb triggers triggers: - # register interrest on a trigger activated by another package + # register interest on a trigger activated by another package # (also available: interest_await, interest_noawait) interest: - some-trigger-name diff --git a/www/docs/index.md b/www/docs/index.md index 563b2736..683bf0b3 100644 --- a/www/docs/index.md +++ b/www/docs/index.md @@ -7,7 +7,7 @@ nFPM is a simple, 0-dependencies, `deb`, `rpm` and `apk` packager. ## Why While [fpm][] is great, for me, it is a bummer that it depends on `ruby`, `tar` -and other softwares. +and other software. I wanted something that could be used as a binary and/or as a library and that was really simple. diff --git a/www/docs/install.md b/www/docs/install.md index 2098121b..22fdf856 100644 --- a/www/docs/install.md +++ b/www/docs/install.md @@ -69,7 +69,7 @@ go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest Download the pre-compiled binaries from the [releases page][releases] and copy them to the desired location. -## Veryifing the artifacts +## Verifying the artifacts ### binaries