aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appveyor.yml6
-rw-r--r--rockspec2
-rw-r--r--src/luarocks/cfg.lua2
3 files changed, 5 insertions, 5 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 5b777596..91db8b4b 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,9 +1,9 @@
1version: 2.4.3.{build}-test 1version: 2.4.4.{build}-test
2 2
3shallow_clone: true 3shallow_clone: true
4 4
5environment: 5environment:
6 LUAROCKS_VER: 2.4.3 6 LUAROCKS_VER: 2.4.4
7 7
8 matrix: 8 matrix:
9 - LUA: "lua 5.1" 9 - LUA: "lua 5.1"
@@ -38,7 +38,7 @@ init:
38before_build: 38before_build:
39 - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH 39 - set PATH=C:\Python27\Scripts;%PATH% # Add directory containing 'pip' to PATH
40 - pip install hererocks 40 - pip install hererocks
41 - hererocks env --%LUA% -rlatest --target=%COMPILER% 41 - hererocks env --%LUA% -r@2.4.4 --target=%COMPILER%
42 - call env\bin\activate 42 - call env\bin\activate
43 43
44build_script: 44build_script:
diff --git a/rockspec b/rockspec
index d3e19309..8b42847d 100644
--- a/rockspec
+++ b/rockspec
@@ -1,5 +1,5 @@
1package = "LuaRocks" 1package = "LuaRocks"
2local VER = "2.4.3" 2local VER = "2.4.4"
3version = VER .. "-1" 3version = VER .. "-1"
4 4
5source = { 5source = {
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 1d5c9872..55cd4c9e 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -31,7 +31,7 @@ if not ok then
31 site_config = {} 31 site_config = {}
32end 32end
33 33
34cfg.program_version = "2.4.3" 34cfg.program_version = "2.4.4"
35cfg.program_series = "2.4" 35cfg.program_series = "2.4"
36cfg.major_version = (cfg.program_version:match("([^.]%.[^.])")) or cfg.program_series 36cfg.major_version = (cfg.program_version:match("([^.]%.[^.])")) or cfg.program_series
37cfg.variables = {} 37cfg.variables = {}