-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (60 loc) · 1.78 KB
/
release.yml
File metadata and controls
62 lines (60 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Release
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate changelog
id: changelog
run: |
PREV=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
if [ -n "$PREV" ]; then
LOG=$(git log --pretty=format:"- %s (%h)" "$PREV"..HEAD)
else
LOG=$(git log --pretty=format:"- %s (%h)")
fi
{
echo "body<<EOF"
echo "$LOG"
echo "EOF"
} >> "$GITHUB_OUTPUT"
- uses: softprops/action-gh-release@v2
with:
body: ${{ steps.changelog.outputs.body }}
draft: false
prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-beta') }}
luarocks:
runs-on: ubuntu-latest
needs: release
steps:
- uses: actions/checkout@v4
- name: LuaRocks Upload
uses: nvim-neorocks/luarocks-tag-release@v7
env:
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }}
with:
name: executioner.nvim
summary: "Telescope-powered script runner and build system for Neovim"
detailed_description: |
Discover scripts in your project, pick one from a Telescope picker,
and run it in a terminal buffer. Configure, build, and pick targets
from CMake, Make, and Meson projects with dedicated commands and
Telescope integration.
labels: |
neovim
telescope
script-runner
cmake
make
meson
build-system
dependencies: |
plenary.nvim
telescope.nvim