aptly.sh: Pull passphrase for gpg-signing from file
This commit is contained in:
parent
0905f9030b
commit
8fe0047822
1 changed files with 2 additions and 2 deletions
4
aptly.sh
4
aptly.sh
|
@ -41,12 +41,12 @@ if [ "$FIRST_RUN" = true ] ; then
|
|||
# https://www.aptly.info/doc/aptly/publish/snapshot/
|
||||
echo
|
||||
echo "aptly.sh: (first run) Setting up local publish with current snapshot"
|
||||
aptly publish snapshot -gpg-key="$GPG_KEYID" -distribution="$CURRENT" "$SNAPSHOT"
|
||||
aptly publish snapshot -passphrase-file=gpg-passphrase.txt -batch=true -gpg-key="$GPG_KEYID" -distribution="$CURRENT" "$SNAPSHOT"
|
||||
else
|
||||
# https://www.aptly.info/doc/aptly/publish/switch/
|
||||
echo
|
||||
echo "aptly.sh: (later runs) Switching local publish to current snapshot"
|
||||
aptly publish switch -gpg-key="$GPG_KEYID" "$CURRENT" "$SNAPSHOT"
|
||||
aptly publish switch -passphrase-file=gpg-passphrase.txt -batch=true -gpg-key="$GPG_KEYID" "$CURRENT" "$SNAPSHOT"
|
||||
fi
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue