Compare commits

...

3 Commits

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

See merge request archlinux/devtools!112
2025-08-20 19:45:12 +08:00
Aaron Liu
3f0ebbc6d2 fix(license): add .gitignore to REUSE defaults
36 packages use this while 26 use *.pam and 21 use *.logrotate. Seems
anecdotally common enough to add this here.
2025-08-08 14:13:32 +02: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
2 changed files with 3 additions and 0 deletions

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

View File

@@ -188,6 +188,7 @@ path = [
"README.md",
"keys/**",
".SRCINFO",
".gitignore",
".nvchecker.toml",
"*.install",
"*.sysusers",