From d3e9acc290c8f3acdf96c5bf3628b805617dc121 Mon Sep 17 00:00:00 2001 From: "Nathanial.C.Jones" Date: Thu, 31 Jan 2013 01:35:39 +0000 Subject: [PATCH] Set PURGEDEV to false and updated build script to set PURGEDEV to true for builds. Also decided to take the "a" out of the WoW version. --- Development/QHBuild.sh | 11 +++++++++-- QuestHelper/collect.lua | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Development/QHBuild.sh b/Development/QHBuild.sh index 779ee57..be050ff 100755 --- a/Development/QHBuild.sh +++ b/Development/QHBuild.sh @@ -103,7 +103,9 @@ then fi sub="s/\\\$svnversion\\\$/${release_string}/g" -sub2='s/4\.0\.1/5\.1\.0a/' +sub2='s/4\.0\.1/5\.1\.0/' +sub3='s/PURGEDEV = false/PURGEDEV = true/' + for toc in `find . -iname "*.toc"` do echo Replacing version tag in ${toc}. @@ -126,9 +128,14 @@ do rm $lua.bak done +echo Turning on PURGEDEV +cp collect.lua collect.lua.bak +sed -e $sub3 collect.lua.bak > collect.lua +rm collect.lua.bak + echo ${release_string} -zip -qdgds 1m -r QuestHelper-5.1.0a.${release_string}.zip QuestHelper/ QHData-* +zip -qdgds 1m -r QuestHelper-5.1.0.${release_string}.zip QuestHelper/ QHData-* echo Moving the package up one directory level. mv -v *.zip .. diff --git a/QuestHelper/collect.lua b/QuestHelper/collect.lua index 737dfb0..91dbe48 100644 --- a/QuestHelper/collect.lua +++ b/QuestHelper/collect.lua @@ -5,7 +5,7 @@ QuestHelper_File["collect.lua"] = "4.0.1.$svnversion$" QuestHelper_Loadtime["collect.lua"] = GetTime() local --[[ static ]] MINSVNVERSION = 283 -local --[[ static ]] PURGEDEV = true +local --[[ static ]] PURGEDEV = false local debug_output = false if QuestHelper_File["collect.lua"] == "Development Version" then debug_output = true end