What's cooking (2013/06 #07)
[git.git] / RelUpload
blob20513cb792868221bf899288324d6e8e162de95d
1 #!/bin/sh
3 kup=/srv/project/git/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[1-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"
17 done
19 pw=$(sed -ne '/code.google.com login jch2355@gmail.com/s/.* password //p' $HOME/.netrc)
21 for s in git-*.sign
23 test -f "$s" &&
24 v=$(expr "$s" : '^git-\(.*\)\.sign$') &&
26 googlecode_upload.py -p git-core -u jch2355@gmail.com -w "$pw" \
27 -s "Git $v" git-$v.tar.gz &&
28 googlecode_upload.py -p git-core -u jch2355@gmail.com -w "$pw" \
29 -s "Git $v documentation pages (HTML)" git-htmldocs-$v.tar.gz &&
30 googlecode_upload.py -p git-core -u jch2355@gmail.com -w "$pw" \
31 -s "Git $v documentation pages (man)" git-manpages-$v.tar.gz &&
32 cat git-$v.sign || break
33 done