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