Révision 3035
tmp/org.txm.setups/BuildMacOSXIntel.sh (revision 3035) | ||
---|---|---|
83 | 83 |
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app/Contents/Info.plist" -type f -exec sed -i "s/launcher/TXM/gi" {} \; |
84 | 84 |
|
85 | 85 |
# +x the executable rights |
86 |
chmod +x "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app/Contents/MacOS/*"
|
|
86 |
chmod +x "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app/Contents/MacOS/"*
|
|
87 | 87 |
|
88 | 88 |
echo " rename files to add version=$version" |
89 | 89 |
mv "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app" "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM-${fullversion}.app" |
tmp/org.txm.setups/pushTXMUpdateToGIT.sh (revision 3035) | ||
---|---|---|
27 | 27 |
exit 1; |
28 | 28 |
fi |
29 | 29 |
|
30 |
echo "Preparing update files..." |
|
31 |
|
|
32 |
MACOSXBUILD=`ls TXM_*_MacOSX/Applications/TXM-*.app/Contents/MacOS/TXM|tail -1` |
|
33 |
if [ "$MACOSXBUILD" = "" ]; then |
|
34 |
echo "Error: no MAc OS X build. Call BuildMacOSX before" |
|
35 |
return |
|
36 |
fi |
|
37 |
|
|
38 |
echo "Fixing Mac OS X binary archive..." |
|
39 |
cp -r `ls -d TXM_*_MacOSX/Applications/TXM-*.app/Contents/MacOS|tail -1` . |
|
40 |
zip `ls exportRCP/repository/binary/org.txm.rcp.app_root.cocoa.macosx.x86_64_*|tail -1` -d MacOS |
|
41 |
zip `ls exportRCP/repository/binary/org.txm.rcp.app_root.cocoa.macosx.x86_64_*|tail -1` -ur MacOS |
|
42 |
rm -r MacOS |
|
43 |
|
|
30 | 44 |
echo "Preparing GIT push..." |
31 | 45 |
pushd $TXMGIT |
32 | 46 |
|
... | ... | |
38 | 52 |
exit 1 |
39 | 53 |
fi |
40 | 54 |
|
55 |
echo "rm previous version..." |
|
41 | 56 |
git rm -r $TXMGITLOCAL/binary/* |
42 | 57 |
git rm -r $TXMGITLOCAL/features/* |
43 | 58 |
git rm -r $TXMGITLOCAL/plugins/* |
44 | 59 |
|
45 |
cp -rf $CURRENTPATH/exportRCP/repository/* $TXMGITLOCAL |
|
60 |
pwd |
|
61 |
echo "cp new build..." |
|
62 |
cp -rf $CURRENTPATH/exportRCP/repository/* . |
|
46 | 63 |
|
47 |
git add --all $TXMGITLOCAL |
|
64 |
echo "git add commit push..." |
|
65 |
git add --all . |
|
48 | 66 |
git commit -m "push $LEVEL update of TXM-$VERSION" |
49 | 67 |
git push |
50 | 68 |
|
Formats disponibles : Unified diff