Skip to content

Commit fec4263

Browse files
committed
docs: fix bad documentation
closes #872
1 parent 9aef48e commit fec4263

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

www/docs/configuration.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Reference
44

5-
A commented `nfpm.yaml` config file example:
5+
A commented `nfpm.yaml` configuration file example:
66

77
```yaml
88
# Name. (required)
@@ -12,7 +12,7 @@ name: foo
1212
# This will expand any env var you set in the field, e.g. arch: ${GOARCH}
1313
# The architecture is specified using Go nomenclature (GOARCH) and translated
1414
# to the platform specific equivalent. In order to manually set the architecture
15-
# to a platform specific value, use deb_arch, rpm_arch and apk_arch.
15+
# to a platform specific value, set `{format}.arch`.
1616
# Examples: `all`, `amd64`, `386`, `arm5`, `arm6`, `arm7`, `arm64`, `mips`,
1717
# `mipsle`, `mips64le`, `ppc64le`, `s390`
1818
arch: amd64
@@ -326,7 +326,7 @@ overrides:
326326
rpm:
327327
# rpm specific architecture name that overrides "arch" without performing any
328328
# replacements.
329-
rpm_arch: ia64
329+
arch: ia64
330330

331331
# RPM specific scripts.
332332
scripts:
@@ -375,7 +375,7 @@ rpm:
375375
# Custom configuration applied only to the Deb packager.
376376
deb:
377377
# deb specific architecture name that overrides "arch" without performing any replacements.
378-
deb_arch: arm
378+
arch: arm
379379

380380
# Custom deb special files.
381381
scripts:
@@ -443,7 +443,7 @@ deb:
443443

444444
apk:
445445
# apk specific architecture name that overrides "arch" without performing any replacements.
446-
apk_arch: armhf
446+
arch: armhf
447447

448448
# The package is signed if a key_file is set
449449
signature:

0 commit comments

Comments
 (0)