diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-08-20 22:20:19 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-08-25 11:14:33 +0200 |
commit | 61010062ff63e23948e9a0417f082d3660e645bf (patch) | |
tree | 0ca143824a05029ad94fbd1693ec2d9668d2eb3a /commitpkg | |
parent | 6ef4d5f30b618d88d2f9f4c30e572eeebcffadeb (diff) | |
download | devtools-61010062ff63e23948e9a0417f082d3660e645bf.tar.xz |
commitpkg: Release to all repositories at once
Make use of archrelease's multi-tag capability invoke it once instead of
re-launching it for for each individual tag.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'commitpkg')
-rwxr-xr-x | commitpkg | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -172,9 +172,14 @@ for _arch in ${arch[@]}; do abort "Signature ${pkgfile}.sig was not found" fi done - archrelease $repo-${_arch} || abort done +if [[ -n $commit_arch ]]; then + archrelease "$repo-$commit_arch" || abort +else + archrelease "${arch[@]/#/$repo-}" || abort +fi + if [[ ${#uploads[*]} -gt 0 ]]; then echo 'uploading all package and signature files' rsync "${rsyncopts[@]}" "${uploads[@]}" "$server:staging/$repo/" || abort |