From ca44ac5a551d469b1da520a81514278fb5b97f06 Mon Sep 17 00:00:00 2001 From: Jonathan Lloyd Date: Sun, 25 Oct 2020 20:06:17 +0000 Subject: [PATCH] Add docs for nfpm id in env var --- www/docs/customization/nfpm.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/docs/customization/nfpm.md b/www/docs/customization/nfpm.md index e4bc6d28504..831d0ff99d0 100644 --- a/www/docs/customization/nfpm.md +++ b/www/docs/customization/nfpm.md @@ -183,8 +183,11 @@ nfpms: # The package is signed if a key_file is set signature: # PGP secret key (can also be ASCII-armored). The passphrase is taken - # from the environment variable $NFPM_DEB_PASSPHRASE with a fallback - # to #NFPM_PASSPHRASE. + # from the environment variable $NFPM_ID_DEB_PASSPHRASE with a fallback + # to $NFPM_ID_PASSPHRASE, where ID is the id of the current nfpm config. + # The id will be transformed to uppercase. + # E.g. If your nfpm id is 'default' then the deb-specific passphrase + # should be set as $NFPM_DEFAULT_DEB_PASSPHRASE key_file: key.gpg # The type describes the signers role, possible values are "origin", # "maint" and "archive". If unset, the type defaults to "origin".