Browse Source

Merge pull request #243 from trapexit/git2dbcl

fix printing of versions with no changes
pull/244/head
Antonio SJ Musumeci 9 years ago
parent
commit
b93783ede0
  1. 6
      tools/git2debcl

6
tools/git2debcl

@ -113,9 +113,13 @@ def main():
tag = tags[0] tag = tags[0]
for prev in tags[1:]: for prev in tags[1:]:
lines = git_log(tag[1],prev[1])
if lines == ['']:
tag = prev
continue
print('%s (%s) %s; urgency=%s\n' % (args.name,tag[0],args.codename,args.urgency)) print('%s (%s) %s; urgency=%s\n' % (args.name,tag[0],args.codename,args.urgency))
lines = git_log(tag[1],prev[1])
for line in lines: for line in lines:
print " * " + line print " * " + line

Loading…
Cancel
Save