From 7dcf4a73b21e70219bb50e73dcb045e6c35ad124 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Mon, 9 Sep 2024 15:35:38 -0700 Subject: [PATCH] Use relative in `.sha256sum` files --- bin/package | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/package b/bin/package index 32ea2a8b3f..8372325287 100755 --- a/bin/package +++ b/bin/package @@ -42,15 +42,15 @@ cd $DIST echo "Creating release archive..." case $OS in ubuntu-latest | macos-latest) - ARCHIVE=$DIST/just-$VERSION-$TARGET.tar.gz + ARCHIVE=just-$VERSION-$TARGET.tar.gz tar czf $ARCHIVE * - echo "archive=$ARCHIVE" >> $GITHUB_OUTPUT shasum -a 256 $ARCHIVE > $ARCHIVE.sha256sum + echo "archive=$DIST/$ARCHIVE" >> $GITHUB_OUTPUT ;; windows-latest) - ARCHIVE=$DIST/just-$VERSION-$TARGET.zip + ARCHIVE=just-$VERSION-$TARGET.zip 7z a $ARCHIVE * - echo "archive=`pwd -W`/just-$VERSION-$TARGET.zip" >> $GITHUB_OUTPUT sha256sum $ARCHIVE > $ARCHIVE.sha256sum + echo "archive=`pwd -W`/$ARCHIVE" >> $GITHUB_OUTPUT ;; esac