File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ checksum_file=checksum
3+ sdk_archive=Branch-iOS-SDK.zip
4+ testbed_archive=Branch-iOS-TestBed.zip
5+
6+ echo ' #checksum for Branch-iOS-SDK found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-SDK.zip' > $checksum_file
7+ shasum $sdk_archive >> $checksum_file
8+ echo ' #checksum for Branch-iOS-TestBed found at https://s3-us-west-1.amazonaws.com/branchhost/Branch-iOS-TestBed.zip' >> $checksum_file
9+ shasum $testbed_archive >> $checksum_file
10+
11+ git checkout master
12+ git add $checksum_file
13+ git commit -m ' compute checksum'
14+ git push
15+
16+ echo ' Pushed Checksum to master'
Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ aws s3 cp --acl public-read Branch-iOS-SDK.zip s3://branchhost/
1212echo ' Uploading Branch-iOS-TestBed'
1313aws s3 cp --acl public-read Branch-iOS-TestBed.zip s3://branchhost/
1414
15+ echo ' Computing the checksums'
16+ sh scripts/checksum.sh
17+
1518echo ' Removing zip files'
1619rm Branch-iOS-SDK.zip Branch-iOS-TestBed.zip
You can’t perform that action at this time.
0 commit comments