From ca6f24ba9d33ef87afb09c4c84f168ec3e788562 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 30 May 2021 14:38:47 -0700 Subject: [PATCH] Re-enable ISO build and upload version-tagged ISO as release asset --- .github/workflows/build.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 819a847..d6111d7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,15 +34,15 @@ jobs: "2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))) %default-channels) - # - name: Build ISO - # run: | - # image=$(guix system image -t iso9660 installer.scm) - # cp $image ./guix-installer.iso - - - name: Prepare Release Notes + - name: Build ISO run: | export RELEASE_TAG=$(date +"%Y%m%d%H%M") echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV + image=$(guix system image -t iso9660 installer.scm) + cp $image ./guix-installer-$RELEASE_TAG.iso + + - name: Prepare Release Notes + run: | 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 @@ -53,6 +53,7 @@ jobs: name: Guix Installer - ${{ env.RELEASE_TAG }} tag_name: v${{ env.RELEASE_TAG }} body_path: release-notes.md + files: guix-installer-${{ env.RELEASE_TAG }}.iso env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_REPOSITORY: SystemCrafters/guix-installer