Statistics
| Revision:

root / tmp / org.txm.setups / PublishSetupsToSpip.sh @ 2119

History | View | Annotate | Download (990 Bytes)

1
#this script needs that you create a public key for SF
2
echo "Sending setups..."
3
VERSION=`cat VERSION`
4

    
5

    
6
echo "Linux: TXM_${VERSION}_Linux64_installer.deb"
7

    
8
cp -f TXM_${VERSION}_Linux64_installer.deb "/run/user/1001/gvfs/sftp:host=vm-web-preprod.pun.ens-lyon.fr,user=$USER/textometrie/files/software/TXM/0.8.0/$VERSION"
9
if [ $? != 0 ]; then
10
	echo "** copy failed : TXM_${VERSION}_Linux64.deb"
11
	exit 1;
12
fi
13

    
14
echo "Win: TXM_${VERSION}_Win64_installer.exe"
15

    
16
cp -f TXM_${VERSION}_Win64_installer.exe "/run/user/1001/gvfs/sftp:host=vm-web-preprod.pun.ens-lyon.fr,user=$USER/textometrie/files/software/TXM/0.8.0/$VERSION"
17
if [ $? != 0 ]; then
18
	echo "** copy failed : TXM_${VERSION}_Win64.exe"
19
	exit 1;
20
fi
21

    
22
echo "Mac: TXM_${VERSION}_MacOSX.tar.gz"
23

    
24
cp -f TXM_${VERSION}_MacOSX.tar.gz "/run/user/1001/gvfs/sftp:host=vm-web-preprod.pun.ens-lyon.fr,user=$USER/textometrie/files/software/TXM/0.8.0/$VERSION"
25
if [ $? != 0 ]; then
26
	echo "** copy failed : TXM_${VERSION}_MacOSX.tar.gz"
27
	exit 1;
28
fi
29

    
30
rm tmp