From 6062d0a96e72eb96eed07f8734460b49028fad70 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 6 Jul 2021 22:04:23 +0200 Subject: [PATCH] .github: need to checkout tree to parse ChangeLog.md Signed-off-by: Joachim Wiberg --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0060f89..7d94e5b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,11 +14,13 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} release_id: ${{ steps.create_release.outputs.id }} steps: + - uses: actions/checkout@v2 - name: Extract ChangeLog entry ... # Hack to extract latest entry for body_path below run: | awk '/-----*/{if (x == 1) exit; x=1;next}x' ChangeLog.md \ |head -n -1 > release.md + cat release.md - name: Create release ... id: create_release uses: actions/create-release@v1