diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1da4124c..40301720 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,8 +55,8 @@ jobs: - name: Download Artifacts uses: actions/download-artifact@v4 with: - name: '**' # downloads all artifacts path: build/ + merge-multiple: true # all artifacts are downloaded to this directory - name: Extract Release Notes run: | @@ -69,7 +69,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - ls build/ + ls -R build/ TAG_NAME=${GITHUB_REF#refs/tags/} if [[ "$TAG_NAME" =~ .+-pre.* ]]; then PRERELEASE_ARGS="--prerelease --latest=false" diff --git a/scripts/extract-changelog.sh b/scripts/extract-changelog.sh index 65431ce7..0b56b4c1 100755 --- a/scripts/extract-changelog.sh +++ b/scripts/extract-changelog.sh @@ -7,6 +7,6 @@ version=$1 awk -v ver="$version" ' /^## \[.*\]/ { if (p) exit - if ($0 ~ "^## \\[" ver "\\]") { p=1 } + if ($0 ~ "^## \\[" ver "\\]") { p=1; next } } p' CHANGELOG.md