forked from fastlane/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request fastlane#9 from acastSthlm/master
Adds Acast to README.md
- Loading branch information
Showing
12 changed files
with
229 additions
and
30 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 @@ | ||
.DS_Store |
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 @@ | ||
apple_id "[email protected]" # Your Apple email address |
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,3 @@ | ||
username "[email protected]" # the iTunes Connect login email address | ||
|
||
copyright "#{Time.now.year} Acast AB" |
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,73 @@ | ||
fastlane_version "1.39.0" | ||
|
||
default_platform :ios | ||
|
||
platform :ios do | ||
before_all do | ||
ENV["SLACK_URL"] = "https://hooks.slack.com/services/[webhook-url]" #Webhook URL created in Slack | ||
end | ||
|
||
lane :xcode do | ||
install_xcode_plugin( | ||
url: "https://github.com/fastlane/FixCode/releases/download/0.2.0/FixCode.xcplugin.zip" | ||
) | ||
end | ||
|
||
desc "Fetches the provisioning profiles so you can build locally" | ||
lane :certs do | ||
match(app_identifier: "com.acast.app.debug", type: "development") | ||
match(app_identifier: "com.acast.app.native.production.internalbeta", type: "appstore") | ||
match(app_identifier: "com.acast.app.native.production", type: "appstore") | ||
end | ||
|
||
desc "Runs all the tests" | ||
lane :test do | ||
cocoapods | ||
if is_ci | ||
scan(skip_slack: false) | ||
else | ||
scan | ||
end | ||
end | ||
|
||
desc "Creates new screenshots and uploads them to iTunes Connect" | ||
lane :screens do | ||
cocoapods | ||
match(app_identifier: "com.acast.app.debug", type: "development") | ||
snapshot | ||
frameit | ||
deliver(app: 925311796, app_identifier: "com.acast.app.native.production", skip_metadata: true, force: true) | ||
end | ||
|
||
desc "Submit a new Beta Build to Apple TestFlight" | ||
lane :beta do | ||
cocoapods | ||
match(app_identifier: "com.acast.app.native.production.internalbeta", type: "appstore") | ||
gym(configuration: "Internal Beta") | ||
pilot(app_identifier: "com.acast.app.native.production.internalbeta") | ||
end | ||
|
||
desc "Deploy a new version to the App Store" | ||
lane :deploy do | ||
cocoapods | ||
match(app_identifier: "com.acast.app.native.production", type: "appstore") | ||
gym(configuration: "Release") | ||
deliver(force: true) | ||
end | ||
|
||
after_all do |lane| | ||
# This block is called, only if the executed lane was successful | ||
end | ||
|
||
error do |lane, exception| | ||
if is_ci | ||
slack( | ||
message: exception.message, | ||
success: false | ||
) | ||
end | ||
end | ||
end | ||
|
||
# More information about multiple platforms in fastlane: https://github.com/KrauseFx/fastlane/blob/master/docs/Platforms.md | ||
# All available actions: https://github.com/KrauseFx/fastlane/blob/master/docs/Actions.md |
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,2 @@ | ||
scheme "Acast" | ||
clean true |
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,3 @@ | ||
git_url "[email protected]:acastSthlm/ios-certificates.git" | ||
|
||
type "development" # The default type, can be: appstore, adhoc or development |
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,6 @@ | ||
scheme "Acast" | ||
clean true | ||
code_coverage true | ||
device "iPhone 6 (9.1)" | ||
skip_slack true | ||
slack_only_on_failure true |
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,18 @@ | ||
devices([ | ||
"iPhone 6", | ||
"iPhone 6 Plus", | ||
"iPhone 5", | ||
"iPhone 4s" | ||
]) | ||
|
||
languages([ | ||
"en-US" | ||
]) | ||
|
||
scheme "Acast" | ||
|
||
configuration "Debug" | ||
|
||
clean true | ||
|
||
clear_previous_screenshots true |
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,64 @@ | ||
{ | ||
"default": { | ||
"keyword": { | ||
"fonts": [ | ||
{ | ||
"font": "./fonts/GothaLig", | ||
"supported": ["en-US"] | ||
} | ||
] | ||
}, | ||
"title": { | ||
"fonts": [ | ||
{ | ||
"font": "./fonts/GothaLig", | ||
"supported": ["en-US"] | ||
} | ||
], | ||
"color": "#FFFFFF" | ||
}, | ||
"background": "./background.png", | ||
"padding": 100 | ||
}, | ||
|
||
|
||
"data": [ | ||
{ | ||
"filter": "Discover", | ||
"title": { | ||
"text": "Discover new and\npopular podcasts", | ||
"padding": 100 | ||
}, | ||
"keyword": { | ||
"color": "#FFFFFF" | ||
} | ||
}, | ||
{ | ||
"filter": "MyAcast", | ||
"title": { | ||
"text": "Keep up to date with\nyour personalised feed" | ||
}, | ||
"keyword": { | ||
"color": "#FFFFFF" | ||
} | ||
}, | ||
{ | ||
"filter": "Player", | ||
"title": { | ||
"text": "Rich content makes\nthe podcast better" | ||
}, | ||
"keyword": { | ||
"color": "#FFFFFF" | ||
} | ||
}, | ||
{ | ||
"filter": "Continue", | ||
"title": { | ||
"text": "Continue where\nyou left off" | ||
}, | ||
"keyword": { | ||
"color": "#FFFFFF" | ||
} | ||
} | ||
] | ||
} |
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 @@ | ||
This folder usually contains the custom fonts. You can define the fonts to use in the `Framefile.json` in the `screenshots` folder. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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