Translated using Weblate.
[wammu.git] / admin / upload-release
blob5ecd6386d3bf35fd9f5be80e943b7546d31bbaa9
1 #!/bin/sh
3 REL=$1
4 if [ -z $REL ] ; then
5 echo 'Usage: upload-release VERSION [DIR]'
6 echo 'Must be called in directory with binaries or with path'
7 exit 1
8 fi
10 if [ ! -z "$2" ] ; then
11 cd "$2"
14 sftp nijel,gammu@frs.sourceforge.net <<EOT
15 cd /home/frs/project/g/ga/gammu/wammu
16 mkdir $REL
17 cd $REL
18 put wammu-$REL.tar.bz2
19 put wammu-$REL.tar.gz
20 put wammu-$REL.zip
21 EOT
22 #put wammu-$REL.win32.exe
23 #put wammu-$REL-setup.exe
25 sftp mort <<EOT
26 cd /srv/http/dl.cihar.com/wammu/v0/
27 put wammu-$REL.tar.bz2
28 put wammu-$REL.tar.gz
29 put wammu-$REL.zip
30 EOT
31 #put wammu-$REL.win32.exe
32 #put wammu-$REL-setup.exe