Skip to content

Commit

Permalink
Merge pull request #64 from theappbusiness/chore/od-getVersionNumber-…
Browse files Browse the repository at this point in the history
…target

Make TAB_PRIMARY_TARGET required for get_version_number
  • Loading branch information
samdods authored Oct 8, 2018
2 parents 0eab2ad + 87ccd26 commit 3bc6aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fastfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastlane_version '2.30.1'
fastlane_version '2.86.0'
default_platform :ios

# --------- Before any lane runs --------- #
Expand Down Expand Up @@ -101,7 +101,7 @@ def _build_number
end

def _get_project_build_number
ENV.include?('TAB_PRIMARY_TARGET') ? get_version_number(target: ENV['TAB_PRIMARY_TARGET']) : get_version_number
get_version_number(target: ENV['TAB_PRIMARY_TARGET'])
end

def _set_build_number
Expand Down

0 comments on commit 3bc6aec

Please sign in to comment.