From 5f7b6954ea44bc1169215463494910a80b713263 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 21 Nov 2014 05:00:05 +0000 Subject: [PATCH] setup.py: look for a tag named after APPNAME, not necessarily "allmydata-tahoe". Signed-off-by: Daira Hopwood --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 999c6c02..a1f59fd1 100644 --- 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: f = open(VERSION_PY_FILENAME, "wb") f.write(GIT_VERSION_BODY % -- 2.45.2