Skip to content

Commit 79bb283

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

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/release.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -144,21 +144,12 @@ jobs:
144144
with:
145145
fetch-depth: 0
146146

147-
- name: Get sha-commit from tag
148-
id: get_baseline_sha
149-
shell: bash
150-
run: |
151-
latest_sha=$(git rev-list --tags --max-count=1)
152-
echo "sha_tag=$latest_sha" >> "$GITHUB_OUTPUT";
153-
154147
- name: Install Dbus
155148
if: ${{ !matrix.cross && startsWith(matrix.os, 'ubuntu-') }}
156149
run: sudo apt update && sudo apt install libdbus-1-dev pkg-config
157150

158-
- name: Checkout source code to specific tag
151+
- name: Checkout source code
159152
uses: actions/checkout@v4
160-
with:
161-
ref: ${{ steps.get_baseline_sha.outputs.sha_tag }}
162153

163154
- name: Install Nightly Rust Toolchain
164155
uses: dtolnay/rust-toolchain@master
@@ -191,10 +182,14 @@ jobs:
191182

192183
- name: Generate completions
193184
if: ${{ matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu' }}
185+
env:
186+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
187+
COMMIT_MSG: |
188+
generate shell completions
194189
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
190+
./target/x86_64-unknown-linux-gnu/release/lcode --generate=zsh >./completions/_lcode
191+
./target/x86_64-unknown-linux-gnu/release/lcode --generate=bash >./completions/lcode.bash
192+
./target/x86_64-unknown-linux-gnu/release/lcode --generate=fish >./completions/lcode.fish
198193
199194
git config user.email "actions@github"
200195
git config user.name "Github Actions"

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)