Skip to content

Commit

Permalink
strip leading 'v' from version-string
Browse files Browse the repository at this point in the history
Closes: #232
  • Loading branch information
umlaeute committed Mar 3, 2021
1 parent 1a5187d commit 401f3db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions developer/deken.hy
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ if the file does not exist or doesn't contain a 'DESCRIPTION', this returns 'DEK
"-externals"
(archive-extension archs))]
[True (fatal (% "Unknown dekformat '%s'" filenameversion))]))
(setv version (if (.startswith version "v") (cut version 1) version))
(do-make-name
(os.path.normpath (os.path.join output-dir (or pkgname (os.path.basename folder))))
(cond [(is version None)
Expand Down

0 comments on commit 401f3db

Please sign in to comment.