Skip to content

Commit 6062d0a

Browse files
author
Joachim Wiberg
committed
.github: need to checkout tree to parse ChangeLog.md
Signed-off-by: Joachim Wiberg <joachim.wiberg@westermo.com>
1 parent a690a74 commit 6062d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ jobs:
1414
upload_url: ${{ steps.create_release.outputs.upload_url }}
1515
release_id: ${{ steps.create_release.outputs.id }}
1616
steps:
17+
- uses: actions/checkout@v2
1718
- name: Extract ChangeLog entry ...
1819
# Hack to extract latest entry for body_path below
1920
run: |
2021
awk '/-----*/{if (x == 1) exit; x=1;next}x' ChangeLog.md \
2122
|head -n -1 > release.md
23+
cat release.md
2224
- name: Create release ...
2325
id: create_release
2426
uses: actions/create-release@v1

0 commit comments

Comments
 (0)