Skip to content

Commit

Permalink
docs: fix arch and platform env var examples (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored Sep 27, 2024
1 parent 31e7c76 commit 67fe7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A commented `nfpm.yaml` config file example:
name: foo

# Architecture. (required)
# This will expand any env var you set in the field, e.g. version: ${GOARCH}
# This will expand any env var you set in the field, e.g. arch: ${GOARCH}
# The architecture is specified using Go nomenclature (GOARCH) and translated
# to the platform specific equivalent. In order to manually set the architecture
# to a platform specific value, use deb_arch, rpm_arch and apk_arch.
Expand All @@ -18,7 +18,7 @@ name: foo
arch: amd64

# Platform.
# This will expand any env var you set in the field, e.g. version: ${GOOS}
# This will expand any env var you set in the field, e.g. platform: ${GOOS}
# This is only used by the rpm and deb packagers.
# Examples: `linux` (default), `darwin`
platform: linux
Expand Down

0 comments on commit 67fe7b2

Please sign in to comment.