Add script to automatically build the release tarball for a given tag.
This commit is contained in:
parent
b4764ebfbe
commit
da4dda3530
13
tools/generateSourceTarball
Executable file
13
tools/generateSourceTarball
Executable file
@ -0,0 +1,13 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user