Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令行会询问是否要绑定,不方便 jenkins 集成,请问怎么操作? #243

Open
interchen opened this issue Mar 5, 2019 · 3 comments

Comments

@interchen
Copy link

Uploading [========================================================] 100% 0.0s
Enter version name: <输入版本名字,如1.0.0-rc>
Enter description: <输入版本描述>
Enter meta info: {"ok":1}
Ok.
Would you like to bind packages to this version?(Y/N)
——这里会询问,jenkins 无法执行下去,是否可以增加命令行参数,去掉这个询问?
或者是 jenkins 有什么办法可以响应这个询问的?(没有搜到解决方案)

@Abreto
Copy link
Contributor

Abreto commented Mar 18, 2019

$ pushy publish /path/to/ppk --no-interactive --platform ios --name "version_name" --description "description" --metaInfo '{}'

这是我读源码得到的用法,你可以参考下

上述命令会返回一个 versionId,可以用 awk 配合 grep 截出来,然后

$ pushy update --platform ios --versionId $vid --packageId $pid

@ShuBuShao
Copy link

@Abreto react-native-update-cli的源码在哪里大佬,没找到

@coder-xiaomo
Copy link

@Abreto react-native-update-cli的源码在哪里大佬,没找到

@ShuBuShao

Windows 端全局安装后在这里:%APPDATA%\npm\node_modules\react-native-update-cli

其他平台可以参照这个目录自己找一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants