Skip to content

Commit c113522

Browse files
authored
chore: use luarocks-tag-release action (#2364)
1 parent 203bf56 commit c113522

File tree

6 files changed

+20
-39
lines changed

6 files changed

+20
-39
lines changed

.github/workflows/release.yml

+18-11
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,22 @@ jobs:
88
runs-on: ubuntu-22.04
99
steps:
1010
- uses: actions/checkout@v3
11-
- uses: leafo/gh-actions-lua@v9
12-
with:
13-
luaVersion: "luajit-2.1.0-beta3"
14-
- uses: leafo/gh-actions-luarocks@v4
15-
- name: Install dkjson
16-
run: luarocks install dkjson
17-
- name: Luarocks Upload
18-
env:
11+
- name: LuaRocks Upload
12+
uses: nvim-neorocks/[email protected]
13+
env:
1914
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
20-
run: make luarocks_upload
21-
- name: Install release
22-
run: make test_luarocks_install
15+
with:
16+
summary: "Find, Filter, Preview, Pick. All lua, all the time."
17+
detailed_description: |
18+
A highly extendable fuzzy finder over lists.
19+
Built on the latest awesome features from neovim core.
20+
Telescope is centered around modularity, allowing for easy customization.
21+
dependencies: |
22+
plenary.nvim
23+
copy_directories: |
24+
doc
25+
ftplugin
26+
plugin
27+
scripts
28+
autoload
29+
data

Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,3 @@ lint:
66

77
docgen:
88
nvim --headless --noplugin -u scripts/minimal_init.vim -c "luafile ./scripts/gendocs.lua" -c 'qa'
9-
10-
luarocks_upload:
11-
bash ./scripts/luarocks-upload.sh
12-
13-
test_luarocks_install:
14-
bash ./scripts/test-luarocks-install.sh

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# telescope.nvim
22

33
[![Gitter](https://badges.gitter.im/nvim-telescope/community.svg)](https://gitter.im/nvim-telescope/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
4+
[![LuaRocks](https://img.shields.io/luarocks/v/Conni2461/telescope.nvim?logo=lua&color=purple)](https://luarocks.org/modules/Conni2461/telescope.nvim)
45

56
Gaze deeply into unknown regions using the power of the moon.
67

scripts/luarocks-upload.sh

-10
This file was deleted.

scripts/test-luarocks-install.sh

-4
This file was deleted.

telescope.nvim-scm-1.rockspec

+1-8
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,9 @@ dependencies = {
2121
}
2222

2323
source = {
24-
url = 'https://github.com/nvim-telescope/telescope.nvim/archive/refs/tags/' .. MODREV .. '.zip',
25-
dir = 'telescope.nvim-' .. MODREV
24+
url = 'git://github.com/nvim-telescope/telescope.nvim',
2625
}
2726

28-
if MODREV == 'scm' then
29-
source = {
30-
url = 'git://github.com/nvim-telescope/telescope.nvim',
31-
}
32-
end
33-
3427
build = {
3528
type = 'builtin',
3629
copy_directories = {

0 commit comments

Comments
 (0)