commitpkg: upload signatures if available
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
parent
c955ecf35d
commit
c16e7c25c9
|
@ -129,12 +129,17 @@ for _arch in ${arch[@]}; do
|
|||
continue 2
|
||||
fi
|
||||
uploads+=("$pkgfile")
|
||||
|
||||
sigfile="${pkgfile}.sig"
|
||||
if [ -f "${sigfile}" ]; then
|
||||
uploads+=("$sigfile")
|
||||
fi
|
||||
done
|
||||
archrelease $repo-${_arch} || abort
|
||||
done
|
||||
|
||||
if [[ ${#uploads[*]} -gt 0 ]]; then
|
||||
echo 'uploading all package files'
|
||||
echo 'uploading all package and signature files'
|
||||
rsync $rsyncopts "${uploads[@]}" "$server:staging/$repo/" || abort
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue