Skip to content

Conversation

@mrcjkb
Copy link
Contributor

@mrcjkb mrcjkb commented Aug 6, 2023

There was a bug in the luarocks-tag-release workflow, preventing the plugin and autoload directories from being added to the luarocks package.

The latest version of the workflow fixes it, so I've bumped it here.
I've also added pull_request as a trigger, so it can run (without uploading to luarocks) on PRs.

This time, I've manually tested it in Neovim with the following minimal config:

-- minimal.lua
-- Copy this to an empty test directory and start with
-- luarocks install --tree $(realpath .) quick-scope
-- nvim -u minimal.lua test.txt

-- Ignore default config
local config_path = vim.fn.stdpath('config')
vim.opt.rtp:remove(config_path)

-- Ignore default plugins
local data_path = vim.fn.stdpath('data')
local pack_path = data_path .. '/site'
vim.opt.packpath:remove(pack_path)

vim.opt.runtimepath:append('lib/luarocks/rocks-5.1/quick-scope/scm-1/')

...and it works 🎉

image

@mrcjkb mrcjkb force-pushed the fix-release-workflow branch from 18d6a3d to 4163a15 Compare August 6, 2023 22:49
@bradford-smith94 bradford-smith94 merged commit 4d32de9 into unblevable:master Aug 8, 2023
@mrcjkb mrcjkb deleted the fix-release-workflow branch August 8, 2023 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants