Skip to content

Commit

Permalink
Use relative in .sha256sum files
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Sep 9, 2024
1 parent 90ae09b commit 7dcf4a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/package
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7dcf4a7

Please sign in to comment.