What's cooking (2015/08 #04)
[alt-git.git] / RelUpload
blob4167903cac6ef377c5929410e30efe50ca5481d0
1 #!/bin/sh
3 kup=../kup/kup
5 for s in git-*.sig
6 do
7 test -f "$s" &&
8 v=$(expr "$s" : '^git.*-\([^-]*\)\.tar\.sig$') &&
9 case "$v" in
10 *.rc[0-9]*)
11 dest=/pub/software/scm/git/testing/ ;;
13 dest=/pub/software/scm/git/ ;;
14 esac &&
16 $kup --host kup.kernel.org put "${s%.sig}.gz" "$s" "$dest" || exit
17 done