瀏覽代碼

fix(ci): remove trailing spaces in release workflow

xcad 6 月之前
父節點
當前提交
f5b3ef06aa
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      .github/workflows/release-create-cli-release.yaml

+ 1 - 2
.github/workflows/release-create-cli-release.yaml

@@ -98,10 +98,9 @@ jobs:
         run: |
           # Extract the changelog for this version from CHANGELOG.md
           VERSION="${{ steps.version.outputs.version }}"
-          
+
           # First try to extract the section for this specific version
           CHANGELOG=$(awk -v ver="$VERSION" '/^## \[/{if($0 ~ "\\[" ver "\\]"){flag=1; next} else if(flag){exit}} flag' CHANGELOG.md)
-          
           # If empty, fall back to [Unreleased] section
           if [ -z "$CHANGELOG" ]; then
             CHANGELOG=$(awk '/^## \[Unreleased\]/{flag=1; next} /^## \[/{flag=0} flag' CHANGELOG.md)