From ee9f7efe68ca9423ae4fa06178e7364a3f743528 Mon Sep 17 00:00:00 2001 From: Florian Gabach Date: Mon, 10 Dec 2018 19:46:24 +0100 Subject: [PATCH] Update fastlane file --- fastlane/Fastfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index bb64d5e..37b7326 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -1,10 +1,11 @@ -# Usage : bundle exec fastlane (patch | minor | major) +# Usage : bundle exec fastlane ios (patch | minor | major) default_platform(:ios) -podspec_name = "OpenSourceController.podspec" platform :ios do + podspec_name = "OpenSourceController.podspec" + desc "Release a new version with a patch bump_type" lane :patch do release("patch") @@ -21,12 +22,12 @@ platform :ios do end def release(type) - pod_lib_lint + pod_lib_lint(use_bundle_exec: false) version = version_bump_podspec(path: podspec_name, bump_type: type) git_add(path: podspec_name) git_commit(path: [podspec_name], message: "#{version} release") add_git_tag(tag: "#{version}") push_to_git_remote - pod_push + pod_push(use_bundle_exec: false) end end \ No newline at end of file