-
-
Notifications
You must be signed in to change notification settings - Fork 609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: luarocks releases #2764
ci: luarocks releases #2764
Conversation
This looks fantastic! We have the same process for nvim-webdevicons Can I please ask you to refactor this to have the same layout/style as https://github.com/nvim-tree/nvim-web-devicons/blob/master/.github/workflows/release.yml The key difference is the |
We have a key for the nvim-tree organisation - am I correct in assuming we can use that here?
Yup, hit that one :)
I like this. |
v1.3.2 is ready to release: #2761 We han hold it back if we get luarocks release ready soon. |
Hey! Sorry i've been delayed, just moved houses, i'll make sure to refactor to the same layout to get this ready for merge :) |
…px/luarocks-package
Yep, this should work! |
Fantastic, many thanks! Before I pull the trigger there is a tag issue to resolve: nvim-tree uses release please, which generates multiple SEMVER tags e.g.
The first release will be successful and all 3 tags will be pushed. Unfortunately the next release will reject the updated See latest nvim-web-devicons luarocks release exhibiting this reject for What should do here? Some thoughts:
Please tell us the "correct" way of handling these tags. |
In the interests of speed, I've restricted the versions to full SEMVER Worked beautifully, many thanks @insipx ! |
One last question @insipx : I see the Should nvim-tree be part of neorocks? |
@alex-courtis Thanks for adding those extra commits! Glad this is now packaged :) |
Great news, thanks for getting all this together. |
Hey 👋
Summary
This PR is part of a push to get neovim plugins on LuaRocks.
See also:
With luarocks/rocks.nvim, it is the plugin authors' responsibility to declare dependencies - not the user's. Installing this plugin is as simple as
:Rocks install nvim-tree.lua
.Things done:
Notes:
Important
For the luarocks workflow to work, someone with a luarocks.org account will have to add their API key to this repo's GitHub actions secrets.
Tagged releases are installed locally and then published to luarocks.org.
Due to a shortcoming in LuaRocks (label doesn't get picked up from rockspec luarocks/luarocks-site#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.See also this guide.