From 67fe7b2e6902f541bb7367782b3f55d9745175e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 27 Sep 2024 19:29:53 +0300 Subject: [PATCH] docs: fix arch and platform env var examples (#862) --- www/docs/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/docs/configuration.md b/www/docs/configuration.md index 10bbc3c2..b7d499e8 100644 --- a/www/docs/configuration.md +++ b/www/docs/configuration.md @@ -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. @@ -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