Make sure IncompleteMessageID is -1 when invalid (bug #1540)
[gammu.git] / admin / upload-release
blobc3cc7ce82b0b8f388a019db52d2fb1c0e5f46ff5
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/gammu
16 mkdir $REL
17 cd $REL
18 put Gammu-$REL-Windows-Minimal.exe
19 put Gammu-$REL-Windows-Minimal.zip
20 put Gammu-$REL-Windows-64bit.exe
21 put Gammu-$REL-Windows-64bit.zip
22 put Gammu-$REL-Windows.exe
23 put Gammu-$REL-Windows.zip
24 put gammu-$REL.tar.bz2
25 put gammu-$REL.tar.xz
26 put gammu-$REL.tar.gz
27 EOT
29 sftp mort <<EOT
30 cd /srv/http/dl.cihar.com/gammu/releases/windows/
31 put Gammu-$REL-Windows-Minimal.exe
32 put Gammu-$REL-Windows-Minimal.zip
33 put Gammu-$REL-Windows-64bit.exe
34 put Gammu-$REL-Windows-64bit.zip
35 put Gammu-$REL-Windows.exe
36 put Gammu-$REL-Windows.zip
37 cd /srv/http/dl.cihar.com/gammu/releases/
38 put gammu-$REL.tar.bz2
39 put gammu-$REL.tar.xz
40 put gammu-$REL.tar.gz
41 EOT