-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Podfile: by default point to the release Matrix pods
Jenkins will use use-dev-pods.sh to build develop version of the app
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# This script modifies Podfile in order to use Matrix pods on their develop branch. | ||
# It is intended to be used by Jenkins to build the develop version of the app. | ||
|
||
echo Moving Podfile to develop Matrix pods | ||
|
||
# Podfile.lock will be obsolete reset it | ||
rm -f Podfile.lock | ||
|
||
# Disable the active pods | ||
sed -i '' -E "s!^(pod)(.*MatrixSDK)!#\1\2!g" Podfile | ||
sed -i '' -E "s!^(pod)(.*MatrixKit)!#\1\2!g" Podfile | ||
# And enable the develop ones | ||
sed -i '' -E "s!^(#pod)(.*MatrixSDK)(.*develop)!pod\2\3!g" Podfile | ||
sed -i '' -E "s!^(#pod)(.*MatrixKit)(.*develop)!pod\2\3!g" Podfile |