Skip to content

Commit

Permalink
fix(pack) will now handle rockspec-revisions > 9 (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored Jun 14, 2022
1 parent d9f1b21 commit a311251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/pongo_pack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
local dir = require("pl.dir")
local rockspecs = dir.getfiles("/kong-plugin/", "*.rockspec")
for _, filename in ipairs(rockspecs) do
local rockname = filename:match("([^/]+)%-[%d%.%a]+%-%d%.rockspec")
local rockname = filename:match("([^/]+)%-[%d%.%a]+%-%d+%.rockspec")
os.execute(("cd /kong-plugin && luarocks make %s && luarocks pack %s"):format(filename, rockname))
end

0 comments on commit a311251

Please sign in to comment.