Skip to content

Commit

Permalink
We only want the hash, strip the filename
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Aug 4, 2021
1 parent 3fce044 commit a55ec5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/custopize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
md5sum $IMAGE > $IMAGE.md5
sha256sum $IMAGE > $IMAGE.sha256
IMAGE_SHA256=`cat $IMAGE.sha256`
IMAGE_SHA256=`cat $IMAGE.sha256 | cut -d ' ' -f 1`
echo "IMAGE_SHA256=$IMAGE_SHA256" >> $GITHUB_ENV
IMAGE_SIZE=`stat -c %s $IMAGE`
Expand All @@ -84,7 +84,7 @@ jobs:
md5sum $IMAGE.zip > $IMAGE.zip.md5
sha256sum $IMAGE.zip > $IMAGE.zip.sha256
ZIP_SHA256=`cat $IMAGE.zip.sha256`
ZIP_SHA256=`cat $IMAGE.zip.sha256 | cut -d ' ' -f 1`
echo "ZIP_SHA256=$ZIP_SHA256" >> $GITHUB_ENV
ZIP_SIZE=`stat -c %s $IMAGE.zip`
Expand Down

0 comments on commit a55ec5b

Please sign in to comment.