Closed mrcjkb closed 3 months ago
@mrcjkb, some error with rockspec
Error: Could not load rockspec file /home/runner/work/fugit2.nvim/fugit2.nvim/fugit2.nvim-0.0.0-2.rockspec (Error running file: [string "/home/runner/work/fugit2.nvim/fugit2.nvim/f..."]:5: attempt to concatenate global 'specrev' (a nil value))
stack traceback:
[C]: in function 'on_failure'
...-luarocks-tag-release-scm-1/share/lua/5.1/ltr/os.lua:48: in function 'execute'
...release-scm-1/share/lua/5.1/luarocks-tag-release.lua:77: in function 'create_rockspec'
...release-scm-1/share/lua/5.1/luarocks-tag-release.lua:153: in function 'luarocks_tag_release'
...ag-release/scm-1/bin/luarocks-tag-release-action.lua:84: in main chunk
[C]: ?
Closes #14.
Things done:
Add an
scm
rockspec that can be used to test luarocks installations locally, withluarocks make
, and to optionally upload dev releases to luarocks withluarocks upload --api-key <API_KEY> fugit2.scm-1.rockspec
Notes:
When installing with luarocks, it will
Due to a shortcoming in LuaRocks (https://github.com/luarocks/luarocks-site/issues/188), the
neovim
and/orvim
labels have to be added to the LuaRocks package manually (after the first upload), for this plugin to show up in https://luarocks.org/labels/neovim or https://luarocks.org/labels/vim, respectively.