From c85491231d323af7b29a7cf98ec6cfc7a912c2b8 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 30 May 2021 14:35:32 -0700 Subject: [PATCH] Improve release notes generation --- .github/workflows/build.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4632bfd..819a847 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,20 +43,15 @@ jobs: run: | export RELEASE_TAG=$(date +"%Y%m%d%H%M") echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV - echo "# This image was prepared with the following channel configuration:\r\n\r\n\`\`\`\r\n" > release-notes.md + echo $'This installer image was prepared with the following channel configuration:\r\n\r\n```\r\n' > release-notes.md guix describe -f channels >> release-notes.md - echo "\r\n\`\`\`" >> release-notes.md - - # - uses: actions/upload-artifact@v2 - # with: - # name: guix-installer - # path: guix-installer.iso + echo $'\r\n```' >> release-notes.md - name: Create Release uses: softprops/action-gh-release@v1 with: - name: Guix Installer v${{ env.RELEASE_TAG }} - tag_name: ${{ env.RELEASE_TAG }} + name: Guix Installer - ${{ env.RELEASE_TAG }} + tag_name: v${{ env.RELEASE_TAG }} body_path: release-notes.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}