mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-23 02:36:55 +08:00
fix building of platform specific deb packages
This commit is contained in:
parent
b93783ede0
commit
f4a4cc5812
|
@ -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 = git_version()
|
||||||
args.version = ver+"~"+args.distro+"-"+args.codename
|
|
||||||
|
|
||||||
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…
Reference in New Issue
Block a user