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.
Cette révision appartient à :
Parent
63efdfe2a2
révision
d3e9acc290
2 fichiers modifiés avec 10 ajouts et 3 suppressions
|
@ -103,7 +103,9 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sub="s/\\\$svnversion\\\$/${release_string}/g"
|
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"`
|
for toc in `find . -iname "*.toc"`
|
||||||
do
|
do
|
||||||
echo Replacing version tag in ${toc}.
|
echo Replacing version tag in ${toc}.
|
||||||
|
@ -126,9 +128,14 @@ do
|
||||||
rm $lua.bak
|
rm $lua.bak
|
||||||
done
|
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}
|
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.
|
echo Moving the package up one directory level.
|
||||||
mv -v *.zip ..
|
mv -v *.zip ..
|
||||||
|
|
|
@ -5,7 +5,7 @@ QuestHelper_File["collect.lua"] = "4.0.1.$svnversion$"
|
||||||
QuestHelper_Loadtime["collect.lua"] = GetTime()
|
QuestHelper_Loadtime["collect.lua"] = GetTime()
|
||||||
|
|
||||||
local --[[ static ]] MINSVNVERSION = 283
|
local --[[ static ]] MINSVNVERSION = 283
|
||||||
local --[[ static ]] PURGEDEV = true
|
local --[[ static ]] PURGEDEV = false
|
||||||
local debug_output = false
|
local debug_output = false
|
||||||
if QuestHelper_File["collect.lua"] == "Development Version" then debug_output = true end
|
if QuestHelper_File["collect.lua"] == "Development Version" then debug_output = true end
|
||||||
|
|
||||||
|
|
Référencer dans un nouveau ticket