diff --git a/Logos/TVStreams.png b/Logos/TVStreams.png new file mode 100644 index 0000000..57ed252 Binary files /dev/null and b/Logos/TVStreams.png differ diff --git a/README.md b/README.md index 4bccfa3..8b909bb 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,7 @@ A description on how the setup works is available in the [Overview](/Touchwonder - Get GitHub Release

- Overview • + OverviewFastfile

@@ -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

- Overview • + OverviewFastfile

@@ -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 + +

+ Overview • + Fastfile • + Environment variables +

+ +---- # 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). diff --git a/TVStreams/.env.ios b/TVStreams/.env.ios new file mode 100644 index 0000000..5a0e348 --- /dev/null +++ b/TVStreams/.env.ios @@ -0,0 +1,6 @@ +WORKSPACE=TVStreams.xcworkspace +PROJECT=TVStreams.xcodeproj +SCHEME=iOS +APP_VERSION=7.1 +PLATFORM=ios +APP_IDENTIFIER=com.tm.stream.app \ No newline at end of file diff --git a/TVStreams/.env.iosfree b/TVStreams/.env.iosfree new file mode 100644 index 0000000..db4875d --- /dev/null +++ b/TVStreams/.env.iosfree @@ -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 \ No newline at end of file diff --git a/TVStreams/.env.tvos b/TVStreams/.env.tvos new file mode 100644 index 0000000..e6aece6 --- /dev/null +++ b/TVStreams/.env.tvos @@ -0,0 +1,6 @@ +WORKSPACE=TVStreams.xcworkspace +PROJECT=TVStreams.xcodeproj +SCHEME=tvOS +APP_VERSION=7.1 +PLATFORM=appletvos +APP_IDENTIFIER=com.tm.stream.app \ No newline at end of file diff --git a/TVStreams/.env.tvosfree b/TVStreams/.env.tvosfree new file mode 100644 index 0000000..8d61b6f --- /dev/null +++ b/TVStreams/.env.tvosfree @@ -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 \ No newline at end of file diff --git a/TVStreams/Appfile b/TVStreams/Appfile new file mode 100644 index 0000000..535582f --- /dev/null +++ b/TVStreams/Appfile @@ -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 \ No newline at end of file diff --git a/TVStreams/Deliverfile b/TVStreams/Deliverfile new file mode 100644 index 0000000..f8b3cf6 --- /dev/null +++ b/TVStreams/Deliverfile @@ -0,0 +1,4 @@ +release_notes({ + 'default' => "Write here the release notes", + 'en-US' => "Write here the release notes", +}) \ No newline at end of file diff --git a/TVStreams/Fastfile b/TVStreams/Fastfile new file mode 100644 index 0000000..42b011e --- /dev/null +++ b/TVStreams/Fastfile @@ -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 \ No newline at end of file diff --git a/TVStreams/README.md b/TVStreams/README.md new file mode 100644 index 0000000..bbe9745 --- /dev/null +++ b/TVStreams/README.md @@ -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).