Solving issue 1583: "Some tools always collapsed after restart"

This commit is contained in:
natureh 510
2013-03-07 22:50:30 +01:00
commit 8a56d3ddbe
1465 changed files with 328228 additions and 0 deletions

14
tools/generateSourceTarball Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
if [[ ! "$1" ]]; then
printf "%s\n" "Usage: $0 <hg tag>" "Example: $0 4.0.10"
exit
fi
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
tar -rf rawtherapee-"$1".tar rawtherapee-"$1"/ReleaseInfo.cmake
xz -z -9e rawtherapee-"$1".tar
rm -r rawtherapee-"$1"