Compare commits

..

1 Commits

Author SHA1 Message Date
Morten Linderud
a23569bb05 commitpkg: introduce reuse lint and download
Signed-off-by: Morten Linderud <foxboron@archlinux.org>
2025-06-14 15:41:07 +02:00

View File

@@ -120,6 +120,14 @@ if (( ${#validpgpkeys[@]} != 0 )); then
git add --force -- keys/pgp/*
fi
# Allow us to disable REUSE
_RUN_REUSE=${_RUN_REUSE:-1}
if ((_RUN_REUSE)); then
reuse download
reuse lint
git add --force -- LICENSES/*
fi
# find files which should be under source control
needsversioning=(PKGBUILD)
for s in "${source[@]}"; do
@@ -297,6 +305,4 @@ if [[ ${#uploads[*]} -gt 0 ]]; then
unset new_uploads
msg 'Uploading all package and signature files'
rsync "${rsyncopts[@]}" "${uploads[@]}" "$server:staging/$repo/" || die
else
die 'No package to upload'
fi