| author | cavaliet |
| Fri, 26 Oct 2012 16:17:08 +0200 | |
| branch | new_rest_api |
| changeset 876 | 8fd46e270e23 |
| parent 588 | a18a8abd1089 |
| permissions | -rwxr-xr-x |
| 0 | 1 |
#!/usr/bin/env bash |
2 |
set -e |
|
3 |
if [ -d ~/tmp/platform_V$1 ]; then |
|
4 |
rm -fr ~/tmp/platform_V$1; |
|
5 |
fi |
|
6 |
||
7 |
hg archive -r V$1 ~/tmp/platform_V$1 |
|
8 |
||
9 |
#text2unix ~/tmp/platform_V$1 |
|
10 |
||
11 |
if [ -d ~/tmp/platform_V$1 ]; then |
|
|
578
c01075236079
new version and new location for the platform
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
12 |
cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/platform_V$1/virtualenv/ web.iri.centrepompidou.fr:projects/platform/virtualenv |
| 0 | 13 |
+ core |
| 588 | 14 |
P web/env/*** |
15 |
P setup/env/*** |
|
| 0 | 16 |
EOT |
|
578
c01075236079
new version and new location for the platform
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
17 |
cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/platform_V$1/src/ldt/ web.iri.centrepompidou.fr:projects/platform/ldt |
| 0 | 18 |
+ core |
19 |
EOT |
|
20 |
fi |
|
21 |
||
22 |
if [ -d ~/tmp/platform_V$1 ]; then |
|
23 |
echo "Deleting temp export" |
|
24 |
rm -fr ~/tmp/platform_V$1; |
|
25 |
fi |