niminst: use project-version for the zip file
This commit is contained in:
parent
92c873154a
commit
3f113f946d
1 changed files with 2 additions and 2 deletions
|
|
@ -522,8 +522,8 @@ proc setupDist2(c: var TConfigData) =
|
||||||
# ------------------ generate ZIP file ---------------------------------------
|
# ------------------ generate ZIP file ---------------------------------------
|
||||||
when haveZipLib:
|
when haveZipLib:
|
||||||
proc zipDist(c: var TConfigData) =
|
proc zipDist(c: var TConfigData) =
|
||||||
var proj = toLower(c.name)
|
var proj = toLower(c.name) & "-" & c.version
|
||||||
var n = "$#_$#.zip" % [proj, c.version]
|
var n = "$#.zip" % proj
|
||||||
if c.outdir.len == 0: n = "build" / n
|
if c.outdir.len == 0: n = "build" / n
|
||||||
else: n = c.outdir / n
|
else: n = c.outdir / n
|
||||||
var z: TZipArchive
|
var z: TZipArchive
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue