fix: 修复 git-cliff 安装路径错误

- 修正解压后的文件路径为 git-cliff-1.4.0/git-cliff
- 同时修复了 auto-release.yml 和 release.yml 中的路径问题
This commit is contained in:
shaw
2025-07-19 22:11:19 +08:00
parent 6a86204223
commit 7bb41a492f
2 changed files with 4 additions and 4 deletions

View File

@@ -60,8 +60,8 @@ jobs:
run: |
wget -q https://github.com/orhun/git-cliff/releases/download/v1.4.0/git-cliff-1.4.0-x86_64-unknown-linux-gnu.tar.gz
tar -xzf git-cliff-1.4.0-x86_64-unknown-linux-gnu.tar.gz
chmod +x git-cliff
sudo mv git-cliff /usr/local/bin/
chmod +x git-cliff-1.4.0/git-cliff
sudo mv git-cliff-1.4.0/git-cliff /usr/local/bin/
- name: Generate changelog
id: changelog

View File

@@ -21,8 +21,8 @@ jobs:
run: |
wget -q https://github.com/orhun/git-cliff/releases/download/v1.4.0/git-cliff-1.4.0-x86_64-unknown-linux-gnu.tar.gz
tar -xzf git-cliff-1.4.0-x86_64-unknown-linux-gnu.tar.gz
chmod +x git-cliff
sudo mv git-cliff /usr/local/bin/
chmod +x git-cliff-1.4.0/git-cliff
sudo mv git-cliff-1.4.0/git-cliff /usr/local/bin/
- name: Generate changelog
id: changelog