diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2014-10-02 11:38:48 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-10-02 11:38:48 -0300 |
| commit | af1906327a0462f8d8464e81bcea18b4e29fefb5 (patch) | |
| tree | 7a76920da55b47a0857b38fbc98c335794a5f3da | |
| parent | e5cd7a90d78f5ffb40d4e8ee6a2b6396d6aa574c (diff) | |
| download | luarocks-af1906327a0462f8d8464e81bcea18b4e29fefb5.tar.gz luarocks-af1906327a0462f8d8464e81bcea18b4e29fefb5.tar.bz2 luarocks-af1906327a0462f8d8464e81bcea18b4e29fefb5.zip | |
Don't report WIP versions as releases.
| -rw-r--r-- | src/luarocks/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 79d6ef52..0f433a7c 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
| @@ -34,7 +34,7 @@ end | |||
| 34 | 34 | ||
| 35 | cfg.site_config = site_config | 35 | cfg.site_config = site_config |
| 36 | 36 | ||
| 37 | cfg.program_version = "2.2.0" | 37 | cfg.program_version = "scm" |
| 38 | cfg.major_version = cfg.program_version:match("([^.]%.[^.])") | 38 | cfg.major_version = cfg.program_version:match("([^.]%.[^.])") |
| 39 | 39 | ||
| 40 | local persist = require("luarocks.persist") | 40 | local persist = require("luarocks.persist") |
