Skip to content

Commit

Permalink
Fix fastlane warning
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Mar 1, 2018
1 parent e39c29e commit 356f904
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fastlane/actions/sync_build_number_to_git.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Fastlane
module Actions
module SharedValues
BUILD_NUMBER = :BUILD_NUMBER
KF_BUILD_NUMBER = :BUILD_NUMBER
end
class SyncBuildNumberToGitAction < Action
def self.is_git?
Expand All @@ -19,12 +19,12 @@ def self.run(params)
end
build_number = (Actions.sh command).strip
Fastlane::Actions::IncrementBuildNumberAction.run(build_number: build_number)
Actions.lane_context[SharedValues::BUILD_NUMBER] = build_number
Actions.lane_context[SharedValues::KF_BUILD_NUMBER] = build_number
end

def self.output
[
['BUILD_NUMBER', 'The new build number']
['KF_BUILD_NUMBER', 'The new build number']
]
end
#####################################################
Expand Down

0 comments on commit 356f904

Please sign in to comment.