mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +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
|
||||
cd ..
|
||||
SITE=`pwd`
|
||||
TAG=`ls features | head -1 | sed -e 's,[^_]*_[0-9.]*\([^.]*\).jar,\1,'`
|
||||
rm site.xml web/site.xsl
|
||||
cvs -q update -d
|
||||
if [ `basename $SITE` = testUpdates ]; then
|
||||
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' \
|
||||
-e 's,Project Update,Project Test Update,g' \
|
||||
site.xml > site.xml.new
|
||||
|
@ -29,6 +39,7 @@ if [ `basename $SITE` = testUpdates ]; then
|
|||
else
|
||||
echo "Working on official update site"
|
||||
fi
|
||||
TAG=`ls features | head -1 | sed -e 's,[^_]*_[0-9.]*\([^.]*\).jar,\1,'`
|
||||
sed -e "s,200607201800,$TAG,g" \
|
||||
site.xml > site.xml.new
|
||||
mv -f site.xml.new site.xml
|
||||
|
|
Loading…
Add table
Reference in a new issue