Add ReleaseInfo.cmake to source tar-ball (closes issue 1684)

This commit is contained in:
Philip Rinn
2013-01-20 12:46:35 +01:00
parent 22f3ca9deb
commit 3a3274338e

View File

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