Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TV Streams example #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Logos/TVStreams.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,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/fastlane/fastlane/tree/master/fastlane">Overview</a> &bull;
<a href="https://github.com/fastlane/fastlane/tree/master/fastlane">Overview</a> &bull;
<a href="https://github.com/fastlane/fastlane/blob/master/fastlane/Fastfile">Fastfile</a>
</p>

Expand All @@ -317,7 +317,7 @@ A description on how the setup works is available in the [Overview](/Touchwonder
- Has configuration for CI (Jenkins) to auto release to Hockeyapp, and auto unlock the keychain

<p align="center">
<a href="/Shop.com">Overview</a> &bull;
<a href="/Shop.com">Overview</a> &bull;
<a href="/Shop.com/Fastfile">Fastfile</a>
</p>

Expand All @@ -342,5 +342,21 @@ A description on how the setup works is available in the [Overview](/Touchwonder

----

### [TV Streams](https://www.tvstreamsapp.com)
[![TV Streams](Logos/TVStreams.png)](https://www.tvstreamsapp.com)

:iphone: + :tv: **Setup for multiple platforms (iOS & tvOS)**

- Setup platform (iOS or tvOS) using environment variables
- Automatic submission to review and release
- Automatic increment build and version number

<p align="center">
<a href="/TVStreams/">Overview</a> &bull;
<a href="/TVStreams/Fastfile">Fastfile</a> &bull;
<a href="/TVStreams/.env.ios">Environment variables</a>
</p>

----
# Code of Conduct
Help us keep `fastlane` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/code-of-conduct).
6 changes: 6 additions & 0 deletions TVStreams/.env.ios
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
WORKSPACE=TVStreams.xcworkspace
PROJECT=TVStreams.xcodeproj
SCHEME=iOS
APP_VERSION=7.1
PLATFORM=ios
APP_IDENTIFIER=com.tm.stream.app
6 changes: 6 additions & 0 deletions TVStreams/.env.iosfree
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
WORKSPACE=TVStreams.xcworkspace
PROJECT=TVStreams.xcodeproj
SCHEME=iOSFree
APP_VERSION=7.1
PLATFORM=ios
APP_IDENTIFIER=com.tm.stream.app.free
6 changes: 6 additions & 0 deletions TVStreams/.env.tvos
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
WORKSPACE=TVStreams.xcworkspace
PROJECT=TVStreams.xcodeproj
SCHEME=tvOS
APP_VERSION=7.1
PLATFORM=appletvos
APP_IDENTIFIER=com.tm.stream.app
6 changes: 6 additions & 0 deletions TVStreams/.env.tvosfree
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
WORKSPACE=TVStreams.xcworkspace
PROJECT=TVStreams.xcodeproj
SCHEME=tvOSFree
APP_VERSION=7.1
PLATFORM=appletvos
APP_IDENTIFIER=com.tm.stream.app.free
4 changes: 4 additions & 0 deletions TVStreams/Appfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
app_identifier(ENV['APP_IDENTIFIER']) # The bundle identifier of your app
apple_id("") # Your Apple email address
itc_team_id("") # iTunes Connect Team ID
team_id("") # Developer Portal Team ID
4 changes: 4 additions & 0 deletions TVStreams/Deliverfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
release_notes({
'default' => "Write here the release notes",
'en-US' => "Write here the release notes",
})
27 changes: 27 additions & 0 deletions TVStreams/Fastfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
fastlane_require 'dotenv'

desc "Push a new release build to the App Store"
lane :upload do
cocoapods(clean: true,
repo_update: true)
run_tests(workspace: ENV['WORKSPACE'],
scheme: ENV['SCHEME'])
increment_version_number(version_number: ENV['APP_VERSION'])
build_number = 1 + latest_testflight_build_number(app_identifier: ENV['APP_IDENTIFIER'],
platform: ENV['PLATFORM'],
version: ENV['APP_VERSION'])
increment_build_number(build_number: build_number,
xcodeproj: ENV['PROJECT'])
build_app(workspace: ENV['WORKSPACE'],
scheme: ENV['SCHEME'],
configuration: "Release",
clean: true,
export_method: "app-store")
upload_to_app_store(submit_for_review: true,
force: true,
automatic_release: true,
platform: ENV['PLATFORM'],
app_identifier: ENV['APP_IDENTIFIER'],
app_version: ENV['APP_VERSION'],
run_precheck_before_submit: true)
end
28 changes: 28 additions & 0 deletions TVStreams/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
fastlane documentation
================
# Installation

Make sure you have the latest version of the Xcode command line tools installed:

```
xcode-select --install
```

Install _fastlane_ using
```
[sudo] gem install fastlane -NV
```
or alternatively using `brew cask install fastlane`

# Available Actions
### upload
```
fastlane upload
```
Push a new release build to the App Store

----

This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).