Translation update done using Pootle.
[phpmyadmin-themes.git] / scripts / upload-release
blob3fbaf5c40b2d647aa75c512264ce0cbb6aa37915
1 #!/bin/sh
3 set -e
4 set -u
6 if [ $# -lt 2 ] ; then
7 echo 'Usage: upload-release USERNAME VERSION [DIR]'
8 echo 'Must be called in directory with binaries or with path'
9 exit 1
11 USER=$1
12 REL=$2
14 if [ $# -gt 2 ] ; then
15 cd "$3"
18 sftp $USER,phpmyadmin@frs.sourceforge.net <<EOT
19 cd /home/frs/project/p/ph/phpmyadmin/phpMyAdmin
20 mkdir $REL
21 cd $REL
22 put phpMyAdmin-$REL-all-languages.tar.bz2
23 put phpMyAdmin-$REL-english.tar.bz2
24 put phpMyAdmin-$REL-all-languages.tar.gz
25 put phpMyAdmin-$REL-english.tar.gz
26 put phpMyAdmin-$REL-all-languages.zip
27 put phpMyAdmin-$REL-english.zip
28 put phpMyAdmin-$REL-all-languages.7z
29 put phpMyAdmin-$REL-english.7z
30 put phpMyAdmin-$REL-notes.html
31 EOT