Browse Source

fix building of platform specific deb packages

pull/244/head
Antonio SJ Musumeci 9 years ago
parent
commit
f4a4cc5812
  1. 8
      tools/git2debcl

8
tools/git2debcl

@ -97,9 +97,10 @@ def main():
if args.codename == '::guess::': if args.codename == '::guess::':
args.codename = guess_codename() args.codename = guess_codename()
versuffix = "~"+args.distro+"-"+args.codename
if args.version == '::guess::': if args.version == '::guess::':
ver = git_version()
args.version = ver+"~"+args.distro+"-"+args.codename
args.version = git_version()
tags = git_tags() tags = git_tags()
@ -111,6 +112,9 @@ def main():
tags = zip(tags,tags) tags = zip(tags,tags)
tags.insert(0,(args.version,'HEAD')) tags.insert(0,(args.version,'HEAD'))
for i in xrange(0,len(tags)):
tags[i] = (tags[i][0] + versuffix,tags[i][1])
tag = tags[0] tag = tags[0]
for prev in tags[1:]: for prev in tags[1:]:
lines = git_log(tag[1],prev[1]) lines = git_log(tag[1],prev[1])

Loading…
Cancel
Save