4 if [ -n "$GATEWAY_INTERFACE" ] ; then
5 echo 'Can not invoke as CGI!'
12 if [ $# -lt 2 ] ; then
13 echo 'Usage: upload-release VERSION [DIR]'
14 echo 'Must be called in directory with binaries or with path'
17 REL
=`echo $1 | tr -d -c '0-9a-z.-'`
18 if [ "x$REL" != "x$1" ] ; then
19 echo "Invalid version: $1"
23 if [ $# -gt 1 ] ; then
29 cd /mnt/storage/files/phpMyAdmin
32 put phpMyAdmin-$REL-all-languages.tar.xz
33 put phpMyAdmin-$REL-english.tar.xz
34 put phpMyAdmin-$REL-all-languages.tar.gz
35 put phpMyAdmin-$REL-english.tar.gz
36 put phpMyAdmin-$REL-all-languages.zip
37 put phpMyAdmin-$REL-english.zip
38 put phpMyAdmin-$REL-all-languages.tar.xz.asc
39 put phpMyAdmin-$REL-english.tar.xz.asc
40 put phpMyAdmin-$REL-all-languages.tar.gz.asc
41 put phpMyAdmin-$REL-english.tar.gz.asc
42 put phpMyAdmin-$REL-all-languages.zip.asc
43 put phpMyAdmin-$REL-english.zip.asc
44 put phpMyAdmin-$REL-all-languages.tar.xz.sha256
45 put phpMyAdmin-$REL-english.tar.xz.sha256
46 put phpMyAdmin-$REL-all-languages.tar.gz.sha256
47 put phpMyAdmin-$REL-english.tar.gz.sha256
48 put phpMyAdmin-$REL-all-languages.zip.sha256
49 put phpMyAdmin-$REL-english.zip.sha256
50 put phpMyAdmin-$REL-all-languages.tar.xz.sha1
51 put phpMyAdmin-$REL-english.tar.xz.sha1
52 put phpMyAdmin-$REL-all-languages.tar.gz.sha1
53 put phpMyAdmin-$REL-english.tar.gz.sha1
54 put phpMyAdmin-$REL-all-languages.zip.sha1
55 put phpMyAdmin-$REL-english.zip.sha1
56 put phpMyAdmin-$REL-notes.html
57 put phpMyAdmin-$REL-source.tar.xz
58 put phpMyAdmin-$REL-source.tar.xz.asc
59 put phpMyAdmin-$REL-source.tar.xz.sha256
60 put phpMyAdmin-$REL-source.tar.xz.sha1
63 # Upload to our file server
64 sftp
-P 11022 -f -b $BATCH files@hertz.phpmyadmin.net
69 ssh -xka2 -p 11022 files@hertz.phpmyadmin.net .
/bin
/sync-files-cdn