Fix release action parameters
parent
694cbf23f5
commit
9d84762ed4
|
@ -43,7 +43,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export RELEASE_TAG=$(date +"%Y%m%d%H%M")
|
export RELEASE_TAG=$(date +"%Y%m%d%H%M")
|
||||||
echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV
|
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
|
guix describe -f channels >> release-notes.md
|
||||||
echo "\r\n\`\`\`" >> release-notes.md
|
echo "\r\n\`\`\`" >> release-notes.md
|
||||||
|
|
||||||
|
@ -55,8 +55,9 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
name: Guix Installer v${{ env.RELEASE_TAG }}
|
||||||
|
tag_name: ${{ env.RELEASE_TAG }}
|
||||||
body_path: release-notes.md
|
body_path: release-notes.md
|
||||||
tag: ${{ env.RELEASE_TAG }}
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_REPOSITORY: SystemCrafters/guix-installer
|
GITHUB_REPOSITORY: SystemCrafters/guix-installer
|
||||||
|
|
Loading…
Reference in New Issue