don't dump into package.log
This commit is contained in:
@@ -41,27 +41,27 @@ cd packaging/linux
|
|||||||
(
|
(
|
||||||
echo "Building Debian package."
|
echo "Building Debian package."
|
||||||
cd deb
|
cd deb
|
||||||
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR" &> package.log
|
./buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Debian package build failed, refer to $PWD/package.log."
|
echo "Debian package build failed."
|
||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
(
|
(
|
||||||
echo "Building Arch-Linux package."
|
echo "Building Arch-Linux package."
|
||||||
cd pkgbuild
|
cd pkgbuild
|
||||||
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR" &> package.log
|
sh buildpackage.sh "$TAG" ../$ROOTDIR "$PACKAGEDIR"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Arch-Linux package build failed, refer to $PWD/package.log."
|
echo "Arch-Linux package build failed."
|
||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
(
|
(
|
||||||
echo "Building RPM package."
|
echo "Building RPM package."
|
||||||
cd rpm
|
cd rpm
|
||||||
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR" &> package.log
|
sh buildpackage.sh "$TAG" ../$ROOTDIR ~/rpmbuild "$PACKAGEDIR"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "RPM package build failed, refer to $PWD/package.log."
|
echo "RPM package build failed."
|
||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
|
|||||||
@@ -83,27 +83,27 @@ echo "Creating packages..."
|
|||||||
|
|
||||||
(
|
(
|
||||||
cd windows
|
cd windows
|
||||||
makensis -DSRCDIR="$BUILTDIR" -DDEPSDIR="${SRCDIR}/thirdparty/windows" OpenRA.nsi &> package.log
|
makensis -DSRCDIR="$BUILTDIR" -DDEPSDIR="${SRCDIR}/thirdparty/windows" OpenRA.nsi
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
mv OpenRA.exe "$OUTPUTDIR"/OpenRA-$TAG.exe
|
mv OpenRA.exe "$OUTPUTDIR"/OpenRA-$TAG.exe
|
||||||
else
|
else
|
||||||
echo "Windows package build failed, refer to windows/package.log."
|
echo "Windows package build failed."
|
||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
(
|
(
|
||||||
cd osx
|
cd osx
|
||||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR" &> package.log
|
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/osx" "$OUTPUTDIR"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "OS X package build failed, refer to osx/package.log."
|
echo "OS X package build failed."
|
||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
(
|
(
|
||||||
cd linux
|
cd linux
|
||||||
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR" &> package.log
|
sh buildpackage.sh "$TAG" "$BUILTDIR" "${SRCDIR}/thirdparty/linux" "$OUTPUTDIR"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Linux package build failed, refer to linux/package.log."
|
echo "Linux package build failed."
|
||||||
fi
|
fi
|
||||||
) &
|
) &
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user