fastlane/lib/fastlane/actions/get_build_number.rb in fastlane-2.73.0.beta.20180103010003 vs fastlane/lib/fastlane/actions/get_build_number.rb in fastlane-2.73.0.beta.20180104010004
- old
+ new
@@ -23,10 +23,10 @@
].join(' ')
if Helper.test?
Actions.lane_context[SharedValues::BUILD_NUMBER] = command
else
- build_number = (Actions.sh command).split("\n").last.strip
+ build_number = Actions.sh(command).split("\n").last.strip
# Store the number in the shared hash
Actions.lane_context[SharedValues::BUILD_NUMBER] = build_number
end
return build_number