packaging

This commit is contained in:
Olivier R-D
2013-04-02 09:51:29 +02:00
parent f8532d36b9
commit 4582eb18b3
2 changed files with 8 additions and 5 deletions

View File

@@ -8,10 +8,13 @@ from email.utils import formatdate
DEBVERSION = "0.5"
#rev = subprocess.check_output("bzr version-info --check-clean --custom --template='{revno}'", shell=True)
#bzrstring = "bzr" + str(rev).replace("'","")
vcsstring = "gitxxx"
rev = subprocess.check_output("git log -1 --format=\'%ad--%h\' --date=short", shell=True)
rev = rev.strip()
rev = str(rev).replace("'","")
#rev = rev.replace(" ", "T", 1)
#ev = rev.replace(" ", "Z", 1)
vcsstring = "git" + rev
def get_changelog(progname, version, changelog, date):
"""