Compare commits

...

2 Commits

Author SHA1 Message Date
Felix Yan
b9b7a84c03 Merge branch 'commitpkg' into 'master'
commitpkg: error out when there is no package to upload

See merge request archlinux/devtools!112
2025-08-06 20:53:21 +08:00
Felix Yan
e179df93a8 commitpkg: error out when there is no package to upload
When calling commitpkg without providing a package to upload, it often
indicates an error in scripts (like failed to build the package
correctly, or transfer error, etc).
2022-08-26 16:48:57 +03:00

View File

@@ -309,4 +309,6 @@ 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