Skip to content

Commit

Permalink
Added hash output for formula in publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkleveter committed Nov 27, 2017
1 parent 80ce9fd commit afb6065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ echo "- Type '$EXEC_NAME --help' into terminal to verify installation" >> $READM
cp .build/release/Executable ./$PACKAGE_NAME/$EXEC_NAME

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

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

Expand All @@ -36,6 +37,7 @@ while true; do
esac
done

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

0 comments on commit afb6065

Please sign in to comment.