Skip to content

Commit 6b466ab

Browse files
committed
updated dmg builder script to automate SHA1 checksum files on installer
1 parent 785ff3f commit 6b466ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dmg-builder.sh

+6
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@
1212
--app-drop-link 600 185 \
1313
Crunch-Installer.dmg \
1414
/Users/ces/Desktop/code/Crunch/bin
15+
16+
# create checksum file for the installer
17+
mv Crunch-Installer.dmg installer/Crunch-Installer.dmg
18+
cd installer || exit 1
19+
shasum Crunch-Installer.dmg > Crunch-Installer-checksum.txt
20+
shasum -c Crunch-Installer-checksum.txt

0 commit comments

Comments
 (0)