-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into etoledom/split-gravatarurl
- Loading branch information
Showing
12 changed files
with
325 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash -eu | ||
|
||
echo "--- :rubygems: Setting up Gems" | ||
install_gems | ||
|
||
echo "--- 🛠 Building Demo (Swift)" | ||
bundle exec fastlane build_demo scheme:Gravatar-Demo | ||
|
||
echo "--- 🛠 Building Demo (SwiftUI)" | ||
bundle exec fastlane build_demo scheme:Gravatar-SwiftUI-Demo |
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,19 @@ | ||
#!/bin/bash -eu | ||
|
||
if [ $# -ne 1 ]; then | ||
echo "Error: CocoaPods publishing failed. Specify a path to a podspec." | ||
exit 1 | ||
fi | ||
|
||
SLACK_WEBHOOK=$PODS_SLACK_WEBHOOK | ||
PODSPEC_PATH="$1" | ||
|
||
echo "--- :rubygems: Setting up Gems" | ||
install_gems | ||
|
||
echo "--- :cocoapods: Publishing Pod to CocoaPods CDN" | ||
publish_pod "$PODSPEC_PATH" | ||
|
||
echo "--- :slack: Notifying Slack" | ||
slack_notify_pod_published "$PODSPEC_PATH" "$SLACK_WEBHOOK" | ||
|
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,12 @@ | ||
#!/bin/bash -eu | ||
|
||
echo "--- :rubygems: Setting up Gems" | ||
install_gems | ||
|
||
echo "--- :microscope: Validate Podspec" | ||
# For some reason this fixes a failure in `lib lint` | ||
# https://github.com/Automattic/buildkite-ci/issues/7 | ||
xcrun simctl list >> /dev/null | ||
bundle exec pod lib lint \ | ||
--include-podspecs="*.podspec" \ | ||
--verbose --fail-fast |
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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
source 'https://rubygems.org' | ||
|
||
gem 'cocoapods', '~> 1.14.3' | ||
gem "fastlane", "~> 2.219" |
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
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
Oops, something went wrong.