Skip to content

Commit

Permalink
Merge pull request #187 from Mossaka/fix-release
Browse files Browse the repository at this point in the history
.github/workflows/release: fix the broken download artifact step
  • Loading branch information
ydnar authored Oct 4, 2024
2 parents b625bef + 5c952c3 commit 3e89565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/extract-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3e89565

Please sign in to comment.