diff --git a/Makefile b/Makefile index db57ab0..db014e4 100644 --- a/Makefile +++ b/Makefile @@ -93,29 +93,29 @@ generate-app-file: command-exists-bundle @echo building ".app" file ... bundle exec fastlane generate_app_file -deploy: deploy-appstore +deploy: deploy-appstore deploy-next_generation deploy-beta: deploy-build-beta -deploy-next-generation: deploy-build-next-generation +deploy-next_generation: deploy-build-next_generation deploy-appstore: deploy-build-appstore deploy-build-%: install-gems @echo deploying app \(incrementing build for $(*)\) ... - bundle exec fastlane beta build_type:build --env $(*) ${VERBOSE} + bundle exec fastlane $(*) build_type:build --env $(*) ${VERBOSE} deploy-patch-%: install-gems @echo deploying app \(incrementing patch\) ... - bundle exec fastlane beta build_type:patch --env $(*) ${VERBOSE} + bundle exec fastlane $(*) build_type:patch --env $(*) ${VERBOSE} deploy-minor-%: install-gems @echo deploying app \(incrementing minor\) ... - bundle exec fastlane beta build_type:minor --env $(*) ${VERBOSE} + bundle exec fastlane $(*) build_type:minor --env $(*) ${VERBOSE} deploy-major-%: install-gems @echo deploying app \(incrementing major\) ... - bundle exec fastlane beta build_type:major --env $(*) ${VERBOSE} + bundle exec fastlane $(*) build_type:major --env $(*) ${VERBOSE} increment_build_number: @echo Incrementing build number app ... diff --git a/fastlane/Fastfile b/fastlane/Fastfile index e9add8a..d98dc08 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -40,8 +40,8 @@ GIT_BRANCH = ENV['GIT_BRANCH'] # Defaults ###################### DEFAULT_XCODE_TARGET = XCODE_TARGET.freeze -DEFAULT_BUILD_TYPE = 'build' -DEFAULT_DEPLOY_ENVIRONMENT = :dev +DEFAULT_BUILD_TYPE = 'build'.freeze +DEFAULT_DEPLOY_ENVIRONMENT = :dev.freeze ###################### # Variables @@ -239,6 +239,12 @@ platform :ios do build(deploy_environment: :dev, build_type: build_type) end + desc 'Deploy Next Generation version of the app ...' + lane :next_generation do |options| + build_type = options[:build_type] + build(deploy_environment: :dev, build_type: build_type) + end + desc 'Deploy App Store version of the app ...' lane :app_store do |options| build_type = options[:build_type]