Index: tools/utils.py |
diff --git a/tools/utils.py b/tools/utils.py |
index 2e9272320669f876020f835389e526954241ef2a..55a54bc0eb51894d26f8a8331e0fc94a6f56bf25 100644 |
--- a/tools/utils.py |
+++ b/tools/utils.py |
@@ -278,13 +278,13 @@ def GetShortVersion(): |
version.major, version.minor, version.patch, version.prerelease, |
version.prerelease_patch)) |
-def GetSemanticSDKVersion(): |
+def GetSemanticSDKVersion(ignore_svn_revision=False): |
version = ReadVersionFile() |
if not version: |
return None |
if version.channel == 'be': |
- postfix = '-edge.%s' % GetSVNRevision() |
+ postfix = '-edge' if ignore_svn_revision else '-edge.%s' % GetSVNRevision() |
elif version.channel == 'dev': |
postfix = '-dev.%s.%s' % (version.prerelease, version.prerelease_patch) |
else: |