Fix generation of source tarball. Had wrong data in ReleaseInfo.cmake.

This commit is contained in:
Philip Rinn 2013-03-08 18:22:34 +01:00
parent ad5ad846d8
commit 2618f96193

View File

@ -5,10 +5,12 @@ if [[ ! "$1" ]]; then
exit
fi
hg update "$1"
tools/generateReleaseInfo
mkdir rawtherapee-"$1"
mv ReleaseInfo.cmake rawtherapee-"$1"
hg archive -r "$1" -X ".hg*" -X "rtgui/config.h" -X "rtgui/version.h" -X "rtdata/rawtherapee.desktop" rawtherapee-"$1".tar
hg archive -X ".hg*" -X "rtgui/config.h" -X "rtgui/version.h" -X "rtdata/rawtherapee.desktop" rawtherapee-"$1".tar
tar -rf rawtherapee-"$1".tar rawtherapee-"$1"/ReleaseInfo.cmake
xz -z -9e rawtherapee-"$1".tar
rm -r rawtherapee-"$1"
hg update