Skip to content

Commit 479df88

Browse files
author
saying121
committed
fix(ci): add commit msg
1 parent 78edd8e commit 479df88

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,16 @@ jobs:
191191

192192
- name: Generate completions
193193
if: ${{ matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu' }}
194+
env:
195+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
196+
COMMIT_MSG: |
197+
generate shell completions
194198
run: |
195-
./target/x86_64-unknown-linux-gnu/release/lcode --generate=zsh | tee ./completions/_lcode
196-
./target/x86_64-unknown-linux-gnu/release/lcode --generate=bash | tee ./completions/lcode.bash
197-
./target/x86_64-unknown-linux-gnu/release/lcode --generate=fish | tee ./completions/lcode.fish
199+
./target/x86_64-unknown-linux-gnu/release/lcode --generate=zsh >./completions/_lcode
200+
./target/x86_64-unknown-linux-gnu/release/lcode --generate=bash >./completions/lcode.bash
201+
./target/x86_64-unknown-linux-gnu/release/lcode --generate=fish >./completions/lcode.fish
198202
203+
git checkout main
199204
git config user.email "actions@github"
200205
git config user.name "Github Actions"
201206
git remote set-url origin https://x-access-token:"${GITHUB_TOKEN}"@github.com/"${GITHUB_REPOSITORY}".git

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [0.8.1] - 2024-04-28
10+
11+
### Fixed
12+
13+
- Cli: `lcode fzy detail` and `lcode generate` help
14+
915
## [0.8.0] - 2024-04-28
1016

1117
### Added

0 commit comments

Comments
 (0)