Skip to content

Commit ce3ea69

Browse files
authored
Merge pull request #1048 from StoDevX/fix-codepush-quoting
fix codepush quoting
2 parents def6081 + 99285d5 commit ce3ea69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlane/lib/util.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def auto_beta
6666
end
6767

6868
def codepush_cli(app:, channel: 'nightly', install_target: '~2.2 || ~2.2.0-rc')
69-
target = "--targetBinaryVersion #{install_target}"
69+
target = "--targetBinaryVersion '#{install_target}'"
7070
# `fastlane x` runs in the ./fastlane folder, so we have to go up a level
7171
Dir.chdir("..") do
72-
sh("code-push release-react '#{app}' ios -d '#{channel}' '#{target}'")
72+
sh("code-push release-react '#{app}' ios -d '#{channel}' #{target}")
7373
end
7474
end

0 commit comments

Comments
 (0)