Skip to content

Commit 3b9082c

Browse files
ci: Update release workflow
1 parent 1df68f7 commit 3b9082c

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

Diff for: .github/workflows/release.yml

+25-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,39 @@
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:
25+
fetch-depth: 0
1826
token: ${{ secrets.GH_TOKEN }}
19-
release-type: simple
27+
- name: Install Neovim
28+
uses: rhysd/action-setup-vim@v1
29+
id: neovim
30+
with:
31+
neovim: true
32+
version: v0.10.3
33+
- name: Update changelog
34+
run: |
35+
nvim -l scripts/generate_changelog.lua 0.4.2
36+
# nvim -l scripts/generate_changelog.lua ${{ github.event.inputs.version }}
37+
- name: Print changelog
38+
run: |
39+
cat docs/changelog.org

0 commit comments

Comments
 (0)