Skip to content

Commit 0adca68

Browse files
committed
update scripts
1 parent 0a40b21 commit 0adca68

File tree

11 files changed

+7
-471
lines changed

11 files changed

+7
-471
lines changed

scripts/deploy-beta

Lines changed: 0 additions & 46 deletions
This file was deleted.

scripts/deploy-build-framework

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,4 @@ scriptpath=$(cd "$(dirname "${scriptpath}")" && pwd)
1111
cd ${scriptpath}/../carthage-files
1212

1313
# Build
14-
xcodebuild -scheme 'Branch-universal'
15-
xcodebuild -scheme 'Branch-static-universal'
16-
xcodebuild -scheme 'Branch-tvOS-universal'
17-
14+
xcodebuild -scheme 'Branch-xcframework'

scripts/deploy-carthage

Lines changed: 0 additions & 27 deletions
This file was deleted.

scripts/deploy-checksum

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,20 @@ set -euo pipefail
88
scriptname=$(basename "${BASH_SOURCE[0]}")
99
scriptpath="${BASH_SOURCE[0]}"
1010
scriptpath=$(cd "$(dirname "${scriptpath}")" && pwd)
11-
cd ${scriptpath}/../carthage-files/output
11+
cd ${scriptpath}/../carthage-files/build
1212

1313
# Zip the SDK files
1414
echo "Zipping frameworks"
15-
zip -rqy Branch/Branch.zip Branch/Branch.framework/
16-
zip -rqy Branch-static/Branch-static.zip Branch-static/Branch.framework/
17-
zip -rqy Branch-tvOS/Branch-tvOS.zip Branch-tvOS/Branch.framework/
15+
zip -rqy Branch.zip Branch.xcframework/
1816

1917
# Checksum the zip files
2018
echo "Creating checksums"
2119
checksum_file=checksum
2220

2321
echo '#checksum for Branch.zip on Github' > "$checksum_file"
24-
shasum Branch/Branch.zip >> $checksum_file
25-
26-
echo '#checksum for Branch-static.zip on Github' >> "$checksum_file"
27-
shasum Branch-static/Branch-static.zip >> $checksum_file
28-
29-
echo '#checksum for Branch-tvOS.zip on Github' >> "$checksum_file"
30-
shasum Branch-tvOS/Branch-tvOS.zip >> $checksum_file
22+
shasum Branch.zip >> $checksum_file
3123

3224
# remove source frameworks
3325
echo "Cleaning up"
34-
rm -rf Branch/Branch.framework
35-
rm -rf Branch-static/Branch.framework
36-
rm -rf Branch-tvOS/Branch.framework
26+
rm -rf Branch.xcframework
27+

scripts/deploy-release

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ echo ">>> Building the framework..." 1>&2
5555
echo ">>> Zipping and checksumming framework files..." 1>&2
5656
./scripts/deploy-checksum
5757

58-
echo '>>> Making Carthage build...' 1>&2
59-
./scripts/deploy-carthage
60-
6158
echo '>>> The Branch SDK build is successful so far.' 1>&2
6259
if ! ./scripts/askYN "Commit and deploy Branch release version ${version}?"; then
6360
echo ">>> Nothing deployed." 1>&2
@@ -68,14 +65,11 @@ echo '>>> Commit and tag...' 1>&2
6865
./scripts/deploy-git-tag
6966

7067
echo '>>> Pushing Branch CocoaPod...' 1>&2
71-
pod trunk push Branch.podspec --allow-warnings
68+
pod trunk push Branch.podspec
7269

7370
# Prompts for SDK Release announcements
7471
./scripts/deploy-announce
7572

76-
# Remove remnants:
77-
./scripts/deploy-cleanup
78-
7973
echo ""
8074
echo "The Branch SDK has been released. Rejoice and pay tribute to Steve Jobs!"
8175
# Completed OK:

scripts/pod-update-all

Lines changed: 0 additions & 35 deletions
This file was deleted.

scripts/test-build-all

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)