Skip to content

Commit 4009169

Browse files
committed
modification
1 parent c6a3de8 commit 4009169

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

config.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/bash
22

3-
43
Cyan='\033[0;36m'
54
Default='\033[0;m'
65

templates/Podfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
source 'https://github.com/CasaPassword/CasaPasswordRepositoryStore.git'
55
source 'https://github.com/CocoaPods/Specs.git'
66

7+
use_frameworks!
8+
79
target '__ProjectName__' do
810

911
end

templates/upload.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
#!/bin/bash
22

3-
git stash
4-
git pull origin master --tags
5-
git stash pop
6-
73
VersionString=`grep -E 's.version.*=' __ProjectName__.podspec`
84
VersionNumber=`tr -cd 0-9 <<<"$VersionString"`
95

@@ -17,5 +13,5 @@ git add .
1713
git commit -am ${NewVersionNumber}
1814
git tag ${NewVersionNumber}
1915
git push origin master --tags
20-
cd ~/.cocoapods/repos/CasaPasswordRepositoryStore && git pull origin master && cd - && pod repo push CasaPasswordRepositoryStore __ProjectName__.podspec --verbose --allow-warnings --use-libraries
16+
pod repo push CasaPasswordRepositoryStore __ProjectName__.podspec --verbose --allow-warnings --use-libraries --use-modular-headers
2117

0 commit comments

Comments
 (0)