Merge branch 'dev-to-app-center'

This commit is contained in:
Davide De Rosa 2019-03-21 22:20:59 +01:00
commit 78a35b590c
5 changed files with 15 additions and 6 deletions

View File

@ -1,6 +1,7 @@
FL_HOCKEY_IPA=$IPA_OUTPUT_PATH
FL_HOCKEY_COMMIT_SHA=$(git rev-parse HEAD)
APPCENTER_APP_NAME="Passepartout"
APPCENTER_DISTRIBUTE_IPA=$IPA_OUTPUT_PATH
#FL_HOCKEY_COMMIT_SHA=$(git rev-parse HEAD)
#FL_HOCKEY_COMMIT_SHA=$CI_COMMIT_SHA
#FL_HOCKEY_BUILD_SERVER_URL="$CI_PROJECT_URL/-/jobs/$CI_JOB_ID"
#FL_HOCKEY_REPOSITORY_URL=$CI_PROJECT_URL
FL_HOCKEY_STRATEGY="replace"
#FL_HOCKEY_STRATEGY="replace"

View File

@ -3,3 +3,6 @@ source "https://rubygems.org"
gem "fastlane"
gem "cocoapods", "~> 1.6"
gem "dotenv"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)

View File

@ -1,2 +1,2 @@
#!/bin/sh
bundle exec fastlane --env secret-codesign,secret-deploy update_provisioning type:development readonly:false
bundle exec fastlane --env secret-codesign,secret-deploy update_provisioning type:adhoc readonly:false

View File

@ -34,10 +34,10 @@ platform :ios do
lane_context[SharedValues::FL_CHANGELOG] = File.read("../#{ENV["BUILD_CHANGELOG_PATH"]}")
end
desc "Submit a build to HockeyApp"
desc "Submit a build to App Center"
lane :dev_deploy do
set_build_changelog
hockey
appcenter_upload
end
desc "Submit a build to TestFlight"

5
fastlane/Pluginfile Normal file
View File

@ -0,0 +1,5 @@
# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!
gem 'fastlane-plugin-appcenter'