Skip to content

Commit afb6065

Browse files
committed
Added hash output for formula in publish script
1 parent 80ce9fd commit afb6065

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

publish.sh

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ echo "- Type '$EXEC_NAME --help' into terminal to verify installation" >> $READM
2424
cp .build/release/Executable ./$PACKAGE_NAME/$EXEC_NAME
2525

2626
tar -cvzf macOS-sierra.tar.gz ./$PACKAGE_NAME
27+
HASH=$(shasum -a 256 macOS-sierra.tar.gz | cut -d " " -f 1)
2728

2829
echo "📦 Drag and drop $PWD/macOS-sierra.tar.gz into https://github.com/vapor/toolbox/releases/edit/$TAG"
2930

@@ -36,6 +37,7 @@ while true; do
3637
esac
3738
done
3839

40+
echo "The new hash for the formula is $HASH"
3941
rm -rf macOS-sierra.tar.gz
4042
rm -rf $PACKAGE_NAME
4143
rm install

0 commit comments

Comments
 (0)