Quantcast

Fix packager substitutions for @debug@ and @alpha@ so the damn versioning actually works.

James D. Callahan III [05-10-11 - 17:09]
Fix packager substitutions for @debug@ and @alpha@ so the damn versioning actually works.
Filename
Core.lua
diff --git a/Core.lua b/Core.lua
index 9336a01..a81bc5c 100644
--- a/Core.lua
+++ b/Core.lua
@@ -451,13 +451,13 @@ function addon:OnInitialize()
 	local debug_version = false
 	local alpha_version = false

-	-- @debug@
+	--@debug@
 	debug_version = true
-	-- @end-debug
+	--@end-debug

-	-- @alpha@
+	--@alpha@
 	alpha_version = true
-	-- @end-alpha@
+	--@end-alpha@

 	version = debug_version and "Devel" or (alpha_version and version .. "-Alpha") or version