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 ---------------------------------------
|
||||
when haveZipLib:
|
||||
proc zipDist(c: var TConfigData) =
|
||||
var proj = toLower(c.name)
|
||||
var n = "$#_$#.zip" % [proj, c.version]
|
||||
var proj = toLower(c.name) & "-" & c.version
|
||||
var n = "$#.zip" % proj
|
||||
if c.outdir.len == 0: n = "build" / n
|
||||
else: n = c.outdir / n
|
||||
var z: TZipArchive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue