Skip to content

Commit d9fd39f

Browse files
committed
fix(cli): Remove rockspec version from code version string
Rockspecs can in some cases be bumped and re-released without requiring a code change in the underlying source. The software can also be installed without even using a specific rockrel (e.g. how some distros package directly from sources). Including the rock spec version in the embeded version string kind of defeats the purpose of having a rockrel. c.f. lunarmodules#60
1 parent 3e88e45 commit d9fd39f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cliargs.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ function cli:cleanup()
2727
cli = nil
2828
end
2929

30-
cli.VERSION = "3.0-2"
30+
cli.VERSION = "3.0"
3131

32-
return cli
32+
return cli

0 commit comments

Comments
 (0)