فهرست منبع

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)