mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 09:35:23 +02:00
Automatically get latest built plugins
This commit is contained in:
parent
498c754c16
commit
636d0f9e11
1 changed files with 12 additions and 1 deletions
|
@ -14,11 +14,21 @@ umask 002
|
||||||
# patch site.xml
|
# patch site.xml
|
||||||
cd ..
|
cd ..
|
||||||
SITE=`pwd`
|
SITE=`pwd`
|
||||||
TAG=`ls features | head -1 | sed -e 's,[^_]*_[0-9.]*\([^.]*\).jar,\1,'`
|
|
||||||
rm site.xml web/site.xsl
|
rm site.xml web/site.xsl
|
||||||
cvs -q update -d
|
cvs -q update -d
|
||||||
if [ `basename $SITE` = testUpdates ]; then
|
if [ `basename $SITE` = testUpdates ]; then
|
||||||
echo "Working on test update site"
|
echo "Working on test update site"
|
||||||
|
REL==`ls $HOME/ws/working/package | sort | tail -1`
|
||||||
|
if [ "$REL" != "" ]; then
|
||||||
|
DIR="$HOME/ws/working/package/$REL"
|
||||||
|
if [ -d "$DIR/features" ]; then
|
||||||
|
echo "Copying new plugins and features from $DIR"
|
||||||
|
rm -rf features
|
||||||
|
rm -rf plugins
|
||||||
|
cp -R $DIR/features .
|
||||||
|
cp -R $DIR/plugins .
|
||||||
|
fi
|
||||||
|
fi
|
||||||
sed -e 's,/dsdp/tm/updates,/dsdp/tm/testUpdates,g' \
|
sed -e 's,/dsdp/tm/updates,/dsdp/tm/testUpdates,g' \
|
||||||
-e 's,Project Update,Project Test Update,g' \
|
-e 's,Project Update,Project Test Update,g' \
|
||||||
site.xml > site.xml.new
|
site.xml > site.xml.new
|
||||||
|
@ -29,6 +39,7 @@ if [ `basename $SITE` = testUpdates ]; then
|
||||||
else
|
else
|
||||||
echo "Working on official update site"
|
echo "Working on official update site"
|
||||||
fi
|
fi
|
||||||
|
TAG=`ls features | head -1 | sed -e 's,[^_]*_[0-9.]*\([^.]*\).jar,\1,'`
|
||||||
sed -e "s,200607201800,$TAG,g" \
|
sed -e "s,200607201800,$TAG,g" \
|
||||||
site.xml > site.xml.new
|
site.xml > site.xml.new
|
||||||
mv -f site.xml.new site.xml
|
mv -f site.xml.new site.xml
|
||||||
|
|
Loading…
Add table
Reference in a new issue