This revision compiles and runs on Win7x64- but further evaluation is necessary. There may be an issue with cmake step -After cmake I had to copy rtgui/version.h & config.h into out of source build /rtgui folder. Additional notes: - ImProcFunctions::hsv2rgb01 -> this likely need to be added to color.h & color.cc - Use of array2D should be verified in NR code - compilation warning for rtengine::RawImageSource::isWBProviderReady()
14 lines
330 B
Bash
14 lines
330 B
Bash
#!/usr/bin/env bash
|
|
|
|
if [[ ! "$1" ]]; then
|
|
printf "%s\n" "Usage: $0 <hg tag>" "Example: $0 4.0.10"
|
|
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
|
|
xz -z -9e rawtherapee-"$1".tar
|
|
hg update
|
|
rm ReleaseInfo.cmake
|