From 6986044dbceb3755ebf05e50c3a0dbb4f834ee0c Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Tue, 6 Jan 2026 15:35:32 +0800 Subject: [PATCH] chore: update release workflow to install fixit-cli and handle config files separately --- .github/workflows/release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a76d514c..62c7837f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,11 +22,16 @@ jobs: node-version-file: .nvmrc cache: pnpm + - name: Install fixit-cli + run: pnpm install -g fixit-cli - name: Split theme configuration run: | - pnpx fixit-cli split hugo.toml - tar -zcvf config.tar.gz config - tree config + fixit split + tar -zcvf config_toml.tar.gz config + rm -rf config + fixit split -y + tar -zcvf config_yaml.tar.gz config + rm -rf config - name: Generate release notes run: | @@ -40,4 +45,5 @@ jobs: draft: true body_path: CHANGELOG.md files: | - config.tar.gz + config_toml.tar.gz + config_yaml.tar.gz