mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 18:06:19 +02:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
61cc1f3504 | ||
![]() |
7037948b65 |
@@ -130,9 +130,16 @@ for _arch in ${arch[@]}; do
|
||||
fi
|
||||
uploads+=("$pkgfile")
|
||||
|
||||
if [[ $SIGNPKG == 'y' ]]; then
|
||||
echo "Signing package ${pkgfile}..."
|
||||
gpg --detach-sign --use-agent -u "${PACKAGER}" "${pkgfile}" || abort
|
||||
fi
|
||||
|
||||
sigfile="${pkgfile}.sig"
|
||||
if [ -f "${sigfile}" ]; then
|
||||
uploads+=("$sigfile")
|
||||
elif [[ $SIGNPKG == 'y' ]]; then
|
||||
abort "Signature ${pkgfile}.sig was not found"
|
||||
fi
|
||||
done
|
||||
archrelease $repo-${_arch} || abort
|
||||
|
Reference in New Issue
Block a user