summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Miller <George@livio.io>2022-05-19 10:50:28 -0400
committerGeorge Miller <George@livio.io>2022-05-19 10:50:28 -0400
commit92488f592d7fe6b013473fbcae294a366a030e62 (patch)
treea287e965ab90fc47369a33aab6d9247106475af9
parentdff93c6075465e169ca22da4f9327aa890dbbb5b (diff)
downloadsdl_ios-92488f592d7fe6b013473fbcae294a366a030e62.tar.gz
removing phase scripts
-rw-r--r--scripts/Phase2.sh19
-rwxr-xr-xscripts/phase1.sh32
2 files changed, 0 insertions, 51 deletions
diff --git a/scripts/Phase2.sh b/scripts/Phase2.sh
deleted file mode 100644
index 9d5f64ff3..000000000
--- a/scripts/Phase2.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-# George Miller
-# 05-17-2022
-# If you don't have permission to run, try: chmod u+x phase1.sh
-# numbering in comments is per https://github.com/smartdevicelink/sdl_ios/wiki/Release-Steps
-
-echo "Hello World"
-
-# 1 bump version in projectFile
-# sed stream edit. It's fast, and can make changes.
-version_number=$(sed -n '/MARKETING_VERSION/{s/MARKETING_VERSION = //;s/;//;s/^[[:space:]]*//;p;q;}' ./SmartDeviceLink-iOS.xcodeproj/project.pbxproj)
-build_number=$(sed -n '/CURRENT_PROJECT_VERSION/{s/CURRENT_PROJECT_VERSION = //;s/;//;s/^[[:space:]]*//;p;q;}' ./SmartDeviceLink-iOS.xcodeproj/project.pbxproj)
-echo "Version "$version_number
-echo "build "$build_number
-
-# 2 update version in podspec
-# SmartDeviceLink-iOS.podspec
-
diff --git a/scripts/phase1.sh b/scripts/phase1.sh
deleted file mode 100755
index 9932f15b2..000000000
--- a/scripts/phase1.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-# George Miller
-# 05-17-2022
-# If you don't have permission to run, try: chmod u+x phase1.sh
-# numbering in comments is per https://github.com/smartdevicelink/sdl_ios/wiki/Release-Steps
-
-echo "Zug Zug"
-
-# 2 push new release to primary cocoapod
-echo "2 push new release to primary Cocoapod"
-pod trunk push SmartDeviceLink.podspec --allow-warnings
-
-# 3 Push the new release to the secondary cocoapod using command line:
-echo "3 Push the new release to the secondary cocoapod using command line:"
-pod trunk push SmartDeviceLink-iOS.podspec --allow-warnings.
-
-# 4 add binary xcframework archive for manual installation
-echo "4 add binary xcframework archive for manual installation"
-# i
-echo "4.i"
-xcodebuild archive -project 'SmartDeviceLink-iOS.xcodeproj/' -scheme 'SmartDeviceLink' -configuration Release -destination 'generic/platform=iOS' -archivePath './SmartDeviceLink-Device.xcarchive' SKIP_INSTALL=NO
-
-# ii
-echo "4.ii"
-xcodebuild archive -project 'SmartDeviceLink-iOS.xcodeproj/' -scheme 'SmartDeviceLink' -configuration Release -destination 'generic/platform=iOS Simulator' -archivePath './SmartDeviceLink-Simulator.xcarchive' SKIP_INSTALL=NO
-
-# iii
-echo "4.iii"
-xcodebuild -create-xcframework -framework './SmartDeviceLink-Device.xcarchive/Products/Library/Frameworks/SmartDeviceLink.framework/' -framework './SmartDeviceLink-Simulator.xcarchive/Products/Library/Frameworks/SmartDeviceLink.framework/' -output './SmartDeviceLink.xcframework'
-
-echo "Work Complete" \ No newline at end of file