We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4814407 commit 1a53264Copy full SHA for 1a53264
tools/gpick.py
@@ -161,7 +161,7 @@ def GetVersionInfo(self, preferVersionFile):
161
pass
162
if not haveVersionInfo:
163
try:
164
- with open("../.version", "r", encoding = 'utf-8') as version_file:
+ with open(self.File('#.version').abspath, "r", encoding = 'utf-8') as version_file:
165
(version, revision, hash, date) = version_file.read().splitlines()
166
except:
167
print("Version file \".version\" is required when GIT can not be used to get version information.")
0 commit comments