From 9d84762ed40264df9223db0678afcf8dad210071 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 30 May 2021 14:21:37 -0700 Subject: [PATCH] Fix release action parameters --- .github/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b7024d9..4632bfd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -43,7 +43,7 @@ jobs: run: | export RELEASE_TAG=$(date +"%Y%m%d%H%M") echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV - echo "# Guix Installer v$RELEASE_TAG\r\nThis image was prepared with the following channel configuration:\r\n\r\n\`\`\`\r\n" > release-notes.md + echo "# This 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 @@ -55,8 +55,9 @@ jobs: - name: Create Release uses: softprops/action-gh-release@v1 with: + name: Guix Installer v${{ env.RELEASE_TAG }} + tag_name: ${{ env.RELEASE_TAG }} body_path: release-notes.md - tag: ${{ env.RELEASE_TAG }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: SystemCrafters/guix-installer