Fix release action parameters

This commit is contained in:
David Wilson 2021-05-30 14:21:37 -07:00
parent 694cbf23f5
commit 9d84762ed4

View file

@ -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