Skip to content

Commit

Permalink
Merge pull request fastlane#9 from acastSthlm/master
Browse files Browse the repository at this point in the history
Adds Acast to README.md
  • Loading branch information
KrauseFx committed Jan 20, 2016
2 parents dd08105 + bb7f353 commit 5bde2bb
Show file tree
Hide file tree
Showing 12 changed files with 229 additions and 30 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
1 change: 1 addition & 0 deletions Acast/Appfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apple_id "[email protected]" # Your Apple email address
3 changes: 3 additions & 0 deletions Acast/Deliverfile
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"
73 changes: 73 additions & 0 deletions Acast/Fastfile
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
2 changes: 2 additions & 0 deletions Acast/Gymfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
scheme "Acast"
clean true
3 changes: 3 additions & 0 deletions Acast/Matchfile
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
6 changes: 6 additions & 0 deletions Acast/Scanfile
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
18 changes: 18 additions & 0 deletions Acast/Snapfile
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
64 changes: 64 additions & 0 deletions Acast/screenshots/Framefile.json
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"
}
}
]
}
1 change: 1 addition & 0 deletions Acast/screenshots/fonts/README.md
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.
Binary file added Logos/acast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 57 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,33 @@ fastlane Example Setups

This repository contains a few `fastlane` example setups that help you getting started.

### [Acast](https://www.acast.com)

[![Acast logotype](Logos/acast.png)](https://www.acast.com)

🎶 **Simple setup, saving tons of time**

- Slack notifications on failed builds or unsuccessful tests
- Slack notifications are only fired if they're run on our CI
- Managed provisioning profiles using [match](https://github.com/fastlane/match)
- Creation of screenshots using [snapshot](https://github.com/fastlane/snapshot)
- Text and device frames are added to screenshots using [frameit](https://github.com/fastlane/frameit)
- Delivered to iTunes Connect using [deliver](https://github.com/fastlane/deliver)
- Submission to App Store using [gym](https://github.com/fastlane/gym) and [deliver](https://github.com/fastlane/deliver)

<p align="center">
<a href="/Acast/">Overview</a> &bull;
<a href="/Acast/Fastfile">Fastfile</a> &bull;
<a href="/Acast/Appfile">Appfile</a> &bull;
<a href="/Acast/Deliverfile">Deliverfile</a> &bull;
<a href="/Acast/Gymfile">Gymfile</a> &bull;
<a href="/Acast/Matchfile">Matchfile</a> &bull;
<a href="/Acast/Scanfile">Scanfile</a> &bull;
<a href="/Acast/Snapfile">Snapfile</a> &bull;
<a href="/Acast/screenshots/Framefile.json">Framefile</a>
</p>
----

### [Fitbay](https://fitbay.com)
[![fastlane Logo](Logos/Fitbay.png)](https://fitbay.com)

Expand All @@ -20,8 +47,8 @@ This repository contains a few `fastlane` example setups that help you getting s
- Custom scripts
- Lane switching with private lanes

<p align="center">
<a href="/Fitbay/">Overview</a> &bull;
<p align="center">
<a href="/Fitbay/">Overview</a> &bull;
<a href="/Fitbay/Fastfile">Fastfile</a>
</p>
----
Expand All @@ -38,7 +65,7 @@ This repository contains a few `fastlane` example setups that help you getting s


<p align="center">
<a href="/Artsy/eidolon">Overview</a> &bull;
<a href="/Artsy/eidolon">Overview</a> &bull;
<a href="/Artsy/eidolon/Fastfile">Fastfile</a>
</p>
----
Expand All @@ -55,10 +82,10 @@ This repository contains a few `fastlane` example setups that help you getting s


<p align="center">
<a href="/Wikipedia/">Overview</a> &bull;
<a href="/Wikipedia/Fastfile">Fastfile</a> &bull;
<a href="/Wikipedia/Deliverfile">Deliverfile</a> &bull;
<a href="/Wikipedia/Appfile">Appfile</a> &bull;
<a href="/Wikipedia/">Overview</a> &bull;
<a href="/Wikipedia/Fastfile">Fastfile</a> &bull;
<a href="/Wikipedia/Deliverfile">Deliverfile</a> &bull;
<a href="/Wikipedia/Appfile">Appfile</a> &bull;
<a href="/Wikipedia/metadata/">Metadata</a>
</p>
----
Expand All @@ -74,10 +101,10 @@ This repository contains a few `fastlane` example setups that help you getting s
- Advanced shell scripting

<p align="center">
<a href="https://github.com/mozilla/firefox-ios-build-tools/tree/master/fastlane">Overview</a> &bull;
<a href="https://github.com/mozilla/firefox-ios-build-tools/blob/master/fastlane/BaseFastfile">Fastfile</a> &bull;
<a href="https://github.com/mozilla/firefox-ios-build-tools/blob/master/fastlane/Snapfile">Snapfile</a> &bull;
<a href="https://github.com/mozilla/firefox-ios/blob/master/ClientUITests/snapshot/MarketingSnapshotTests.swift">SnapshotTests.swift</a> &bull;
<a href="https://github.com/mozilla/firefox-ios-build-tools/tree/master/fastlane">Overview</a> &bull;
<a href="https://github.com/mozilla/firefox-ios-build-tools/blob/master/fastlane/BaseFastfile">Fastfile</a> &bull;
<a href="https://github.com/mozilla/firefox-ios-build-tools/blob/master/fastlane/Snapfile">Snapfile</a> &bull;
<a href="https://github.com/mozilla/firefox-ios/blob/master/ClientUITests/snapshot/MarketingSnapshotTests.swift">SnapshotTests.swift</a> &bull;
<a href="https://github.com/mozilla/firefox-ios-build-tools/tree/master/fastlane/actions">Custom Actions</a>
</p>
----
Expand All @@ -96,12 +123,12 @@ This repository contains a few `fastlane` example setups that help you getting s


<p align="center">
<a href="/MindNode/">Overview</a> &bull;
<a href="/MindNode/Fastfile">Fastfile</a> &bull;
<a href="/MindNode/Snapfile">Snapfile</a> &bull;
<a href="/MindNode/MindNode.js">MindNode.js</a> &bull;
<a href="/MindNode/screenshots">screenshots</a> &bull;
<a href="/MindNode/screenshots/Framefile.json">Framefile.json</a> &bull;
<a href="/MindNode/">Overview</a> &bull;
<a href="/MindNode/Fastfile">Fastfile</a> &bull;
<a href="/MindNode/Snapfile">Snapfile</a> &bull;
<a href="/MindNode/MindNode.js">MindNode.js</a> &bull;
<a href="/MindNode/screenshots">screenshots</a> &bull;
<a href="/MindNode/screenshots/Framefile.json">Framefile.json</a> &bull;
<a href="/MindNode/mac">MacScreenshots</a>
</p>
----
Expand All @@ -117,9 +144,9 @@ This repository contains a few `fastlane` example setups that help you getting s
- Version Bump & Git Actions

<p align="center">
<a href="/ProductHunt/">Overview</a> &bull;
<a href="/ProductHunt/Fastfile">Fastfile</a> &bull;
<a href="/ProductHunt/Deliverfile">Deliverfile</a> &bull;
<a href="/ProductHunt/">Overview</a> &bull;
<a href="/ProductHunt/Fastfile">Fastfile</a> &bull;
<a href="/ProductHunt/Deliverfile">Deliverfile</a> &bull;
<a href="/ProductHunt/metadata">metadata</a>
</p>
----
Expand All @@ -136,9 +163,9 @@ This repository contains a few `fastlane` example setups that help you getting s


<p align="center">
<a href="/BeMyEyes/">Overview</a> &bull;
<a href="/BeMyEyes/Fastfile">Fastfile</a> &bull;
<a href="/BeMyEyes/Deliverfile">Deliverfile</a> &bull;
<a href="/BeMyEyes/">Overview</a> &bull;
<a href="/BeMyEyes/Fastfile">Fastfile</a> &bull;
<a href="/BeMyEyes/Deliverfile">Deliverfile</a> &bull;
<a href="/BeMyEyes/actions/get_global_value.rb">get_global_value</a>
</p>
----
Expand All @@ -158,10 +185,10 @@ A description on how the setup works is available in the [Overview](/SunApps).


<p align="center">
<a href="/SunApps/">Overview</a> &bull;
<a href="/SunApps/Fastfile">Fastfile</a> &bull;
<a href="/SunApps/Deliverfile">Deliverfile</a> &bull;
<a href="/SunApps/Snapfile">Snapfile</a> &bull;
<a href="/SunApps/">Overview</a> &bull;
<a href="/SunApps/Fastfile">Fastfile</a> &bull;
<a href="/SunApps/Deliverfile">Deliverfile</a> &bull;
<a href="/SunApps/Snapfile">Snapfile</a> &bull;
<a href="/SunApps/Appfile">Appfile</a> &bull;
<a href="/SunApps/snapshot.js">snapshot.js</a>
</p>
Expand All @@ -182,8 +209,8 @@ A description on how the setup works is available in the [Overview](/Touchwonder


<p align="center">
<a href="/Touchwonders/">Overview</a> &bull;
<a href="/Touchwonders/Fastfile">Fastfile</a> &bull;
<a href="/Touchwonders/">Overview</a> &bull;
<a href="/Touchwonders/Fastfile">Fastfile</a> &bull;
<a href="/Touchwonders/fastlane_config.yaml">Configuration file</a>
</p>
----
Expand All @@ -201,7 +228,7 @@ A description on how the setup works is available in the [Overview](/Touchwonder
- Get GitHub Release

<p align="center">
<a href="https://github.com/KrauseFx/fastlane/tree/master/fastlane">Overview</a> &bull;
<a href="https://github.com/KrauseFx/fastlane/tree/master/fastlane">Overview</a> &bull;
<a href="https://github.com/KrauseFx/fastlane/blob/master/fastlane/Fastfile">Fastfile</a>
</p>
----
Expand Down

0 comments on commit 5bde2bb

Please sign in to comment.