ci: fix luarocks tag release process

bumped version of the action

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
This commit is contained in:
Matthieu Coudron 2023-07-30 21:07:18 +02:00 committed by Christian Clason
parent 64a7e20be2
commit baed6439e2
3 changed files with 58 additions and 4 deletions

View file

@ -0,0 +1,45 @@
local git_ref = '$git_ref'
local modrev = '$modrev'
local specrev = '-1'
local repo_url = '$repo_url'
rockspec_format = '3.0'
package = '$package'
version = modrev .. specrev
description = {
summary = 'Nvim Treesitter configurations and abstraction layer',
detailed = $detailed_description,
labels = { 'neovim' },
homepage = 'https://github.com/nvim-treesitter/nvim-treesitter',
license = 'Apache-2.0',
}
dependencies = {
'lua >= 5.1',
}
-- source = file:///.
source = {
url = repo_url .. '/archive/' .. git_ref .. '.zip',
dir = '$repo_name-' .. '$archive_dir_suffix',
}
build = {
type = 'make',
build_pass = false,
install_variables = {
INST_PREFIX='$(PREFIX)',
INST_BINDIR='$(BINDIR)',
INST_LIBDIR='$(LIBDIR)',
INST_LUADIR='$(LUADIR)',
INST_CONFDIR='$(CONFDIR)',
},
copy_directories = {
'autoload',
'plugin',
'queries'
}
}

View file

@ -0,0 +1,36 @@
local MODREV, SPECREV = 'scm', '-1'
rockspec_format = '3.0'
package = 'nvim-treesitter'
version = MODREV .. SPECREV
description = {
summary = 'Nvim Treesitter configurations and abstraction layer',
labels = { 'neovim' },
homepage = 'https://github.com/nvim-treesitter/nvim-treesitter',
license = 'Apache-2.0',
}
dependencies = {
'lua >= 5.1',
}
source = {
url = 'git://github.com/nvim-treesitter/nvim-treesitter',
}
build = {
type = 'make',
install_variables = {
INST_PREFIX='$(PREFIX)',
INST_BINDIR='$(BINDIR)',
INST_LIBDIR='$(LIBDIR)',
INST_LUADIR='$(LUADIR)',
INST_CONFDIR='$(CONFDIR)',
},
copy_directories = {
'autoload',
'doc',
'plugin',
'queries'
}
}