Skip to content

Commit 217f456

Browse files
ci: Update release workflow
1 parent 1df68f7 commit 217f456

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

Diff for: .github/workflows/release.yml

+24-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,38 @@
1+
# on:
2+
# workflow_dispatch:
3+
# inputs:
4+
# version:
5+
# type: string
6+
# description: 'Version'
7+
# required: true
18
on:
29
push:
310
branches:
4-
- master
11+
- feat/changelog
512

613
permissions:
714
contents: write
815
pull-requests: write
916

10-
name: release-please
17+
name: release
1118

1219
jobs:
13-
release-please:
20+
tag:
1421
runs-on: ubuntu-latest
1522
steps:
16-
- uses: googleapis/release-please-action@v4
23+
- uses: actions/checkout@v4
1724
with:
1825
token: ${{ secrets.GH_TOKEN }}
19-
release-type: simple
26+
- name: Install Neovim
27+
uses: rhysd/action-setup-vim@v1
28+
id: neovim
29+
with:
30+
neovim: true
31+
version: v0.10.3
32+
- name: Update changelog
33+
run: |
34+
nvim -l scripts/generate_changelog.lua 0.4.2
35+
# nvim -l scripts/generate_changelog.lua ${{ github.event.inputs.version }}
36+
- name: Print changelog
37+
run: |
38+
cat docs/changelog.org

0 commit comments

Comments
 (0)