projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32398f9
)
setup.py: look for a tag named after APPNAME, not necessarily "allmydata-tahoe".
2340-version-error-reporting-1
author
Daira Hopwood
<daira@jacaranda.org>
Fri, 21 Nov 2014 05:00:05 +0000
(
05:00
+0000)
committer
Daira Hopwood
<daira@jacaranda.org>
Fri, 21 Nov 2014 05:30:00 +0000
(
05:30
+0000)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 668b441816838ff004c3c65ba869e0c128c415c9..09606eaff116bba8646c77272d54545cc5d4df75 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-362,7
+362,8
@@
class UpdateVersion(Command):
print("Warning: no version information found. This may cause tests to fail.")
def try_from_git(self):
- versions = versions_from_git("allmydata-tahoe-")
+ # If we change APPNAME, the release tag names should also change from then on.
+ versions = versions_from_git(APPNAME + '-')
if versions:
version_info = {
"pkgname": self.distribution.get_name(),