1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 14:25:37 +02:00

[releng] make signed and add TM-repo.zip automagically

This commit is contained in:
Martin Oberhuber 2011-10-03 10:24:56 +00:00
parent a74e8a1fcc
commit 0e33b61b45
2 changed files with 16 additions and 12 deletions

View file

@ -179,11 +179,13 @@ if [ -f package.count -a "$FILES" != "" ]; then
cd $HOME/ws2/publish
cd $DIRS
cp $HOME/downloads-tm/signedUpdates/TM-repo-${realstamp}.zip .
count=`cat package.count`
count=`expr $count + 1`
rm package.count
echo $count > package.count
echo "Successfully created TM-repo-${realstamp}.zip"
if [ -f package.count ]; then
count=`cat package.count`
count=`expr $count + 1`
rm package.count
echo $count > package.count
fi
echo "Making signed..."
UPDATE_SITE=$HOME/downloads-tm/signedUpdates

View file

@ -219,11 +219,13 @@ echo "ls ${OUTPUT}"
ls ${OUTPUT}
echo ""
cd "${DROPDIR}"
if [ ! -d ${DROPDIR}.unsigned ]; then
DROPBASE=`basename "${DROPDIR}"`
mkdir ../${DROPBASE}.unsigned
tar cf - . | (cd ../${DROPBASE}.unsigned ; tar xf -)
chmod -R g+w ../${DROPBASE}.unsigned
fi
echo "cp -f ${OUTPUT}/* ."
echo "rm -rf ${tmpdir}"
#if [ ! -d ${DROPDIR}.unsigned ]; then
# DROPBASE=`basename "${DROPDIR}"`
# mkdir ../${DROPBASE}.unsigned
# tar cf - . | (cd ../${DROPBASE}.unsigned ; tar xf -)
# chmod -R g+w ../${DROPBASE}.unsigned
#fi
#echo "cp -f ${OUTPUT}/* ."
#echo "rm -rf ${tmpdir}"
cp -f ${OUTPUT}/* .
rm -rf ${tmpdir}