From d9d8aeaef28898aa7c5c3b9d9de90c24bae27d61 Mon Sep 17 00:00:00 2001 From: Byron Hambly Date: Tue, 28 Mar 2023 20:33:45 +0200 Subject: [PATCH] wip --- .github/workflows/guix.yml | 3 ++- buildelements.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/guix.yml b/.github/workflows/guix.yml index a323bf6..434ed58 100644 --- a/.github/workflows/guix.yml +++ b/.github/workflows/guix.yml @@ -86,7 +86,8 @@ jobs: mkdir -p release find output/ -type f -iregex ".*.\(gz\|zip\|exe\|dmg\)" -exec mv -t release {} + cp sha256sums.txt release - gh release create "$BUILD_TAG" --title "$BUILD_TAG" --notes-file sha256sums.txt release/* + echo -e "\`\`\`\n$(cat sha256sums.txt)\n\`\`\`" > notes + gh release create "$BUILD_TAG" --title "$BUILD_TAG" --notes-file notes release/* - uses: actions/upload-artifact@v3 with: name: sha256sums.txt diff --git a/buildelements.sh b/buildelements.sh index b00746a..9e2a827 100755 --- a/buildelements.sh +++ b/buildelements.sh @@ -62,8 +62,8 @@ ls -alht echo $builddir ls -alht $builddir ls -alht $builddir/output/ -find /elements/$builddir/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum | tee $NAME.txt -mv $NAME.txt /elements/$builddir/output/$NAME.txt +find $builddir/output/ -type f -print0 | env LC_ALL=C sort -z | xargs -r0 sha256sum | tee $NAME.txt +mv $NAME.txt $builddir/output/$NAME.txt __EOF__ chmod 700 tmpelementsbuild.sh