Statistics
| Revision:

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

History | View | Annotate | Download (990 Bytes)

1 728 mdecorde
#this script needs that you create a public key for SF
2 728 mdecorde
echo "Sending setups..."
3 728 mdecorde
VERSION=`cat VERSION`
4 728 mdecorde
5 728 mdecorde
6 2119 mdecorde
echo "Linux: TXM_${VERSION}_Linux64_installer.deb"
7 728 mdecorde
8 2119 mdecorde
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 728 mdecorde
if [ $? != 0 ]; then
10 2119 mdecorde
	echo "** copy failed : TXM_${VERSION}_Linux64.deb"
11 728 mdecorde
	exit 1;
12 728 mdecorde
fi
13 728 mdecorde
14 2119 mdecorde
echo "Win: TXM_${VERSION}_Win64_installer.exe"
15 728 mdecorde
16 2119 mdecorde
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 728 mdecorde
if [ $? != 0 ]; then
18 2119 mdecorde
	echo "** copy failed : TXM_${VERSION}_Win64.exe"
19 728 mdecorde
	exit 1;
20 728 mdecorde
fi
21 728 mdecorde
22 2119 mdecorde
echo "Mac: TXM_${VERSION}_MacOSX.tar.gz"
23 2119 mdecorde
24 2119 mdecorde
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 728 mdecorde
if [ $? != 0 ]; then
26 2119 mdecorde
	echo "** copy failed : TXM_${VERSION}_MacOSX.tar.gz"
27 728 mdecorde
	exit 1;
28 728 mdecorde
fi
29 728 mdecorde
30 728 mdecorde
rm tmp