From 2f0ff508666c95694429e06a4fc4868691549a49 Mon Sep 17 00:00:00 2001 From: Luni-4 Date: Fri, 15 May 2020 11:35:14 +0200 Subject: [PATCH] Add description to a release --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f3f10943..29148394 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -66,10 +66,11 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Get the version + - name: Get version and release description id: tagName run: | VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2) + tail -n +2 CHANGELOG.md | sed -e '/^$/,$d' > CHANGELOG.txt echo "::set-output name=tag::$VERSION" - name: Download x86_64 Windows artifact @@ -86,6 +87,7 @@ jobs: uses: softprops/action-gh-release@v1 with: name: ${{ steps.tagName.outputs.tag }} + body_path: CHANGELOG.txt files: | oxipng-${{ steps.tagName.outputs.tag }}-x86_64-pc-windows-msvc.zip oxipng-${{ steps.tagName.outputs.tag }}-i686-pc-windows-msvc.zip