Comments (4)
这更新后ipa路径如何配置, 不给个例子说明一下吗? 我这边试了都找不到路径? 无论是指向gym输出的文件夹还是ipa文件都没用
from fastlane-plugin-pgyer.
@hubin97 请参考下 https://github.com/shishirui/fastlane-plugin-pgyer/blob/master/lib/fastlane/plugin/pgyer/actions/pgyer_action.rb#L140-L152 这个是 fastlane-plugin 的标准参数列表, 里面有你需要的参数
from fastlane-plugin-pgyer.
我看了下文件中描述 ipa字段
description: "Path to your IPA file. Optional if you use the _gym_ or _xcodebuild_ action. For Mac zip the .app. For Android provide path to .apk file",
请问下, 我已由gym打包处ipa文件,但是可能网络或者其他原因, 我的包没上传;
那么如果我单独另起一个lane
仅为了上传包, 且ipa我填了前面gym的输出路径, 但是我发现一直报路径错误
大佬, 此时如果我需要单独使用插件去上传完成后续的操作, 该如何操作?
require 'json'
desc "FastLane only pgyer dingtalk"
lane :pgyer_dingtalk do
# 获取版本信息和提交内容
$appName = "AppName"
$versionNo = "#{get_version_number}"
$buildNo = "#{get_build_number}"
$folder_name = "#{$versionNo}_build#{$buildNo}"
$output_path = "~/Documents/fastlane/release/AppName_#{$folder_name}"
$commit_hash = last_git_commit[:abbreviated_commit_hash] + " " + last_git_commit[:message]
$update_content = "Fastlane(ios): Release \n v2.5.x 测试版本更新"
puts "更新版本: #{$folder_name}"
puts "输出路径: #{$output_path}"
puts "更新内容: #{$update_content}"
# 上传 ipa 文件到 fir
# fastlane action pgyer
# https://docs.fastlane.tools/actions/pgyer
pgyer(
api_key: "ca72xxx86d42",
#user_key: "6e4aeb737xxx2c340ee5",
ipa: "#{$output_path}/AppName.ipa", ## ???
install_type: "2", # fastlane 错误之 PGYER Plugin Error
password: "123456",#"123456Zz",
update_description: "#{$update_content}"
)
# 2021 年 6 月 28 日 开始,bugly 不再支持使用 openApi 的方式上传符号表,需要使用官方提供的命令行上传工具进行上传。 本插件当前使用的工具版本为:3.3.4
upload_dsym_to_bugly(
file_path: "#{$output_path}/AppName.app.dSYM.zip",
app_key: "1976exxxb004729",
app_id:"91xxb5a",
bundle_id: 'com.xx.AppName',
version: get_version_number,
raise_if_error: false
)
msgbody={
"msgtype": "markdown",
...
}
$cmd1="curl 'https://oapi.dingtalk.com/robot/send?access_token=2c485b2142ca6xxx41ae11e'"
$cmd2="-H 'Content-Type: application/json'"
$message=msgbody.to_json
$cmd3="-d '#{$message}'"
$dcommand ="#{$cmd1} #{$cmd2} #{$cmd3}"
puts " 即将发送钉钉群通知 ~> #{$dcommand}"
exec "#{$dcommand}"
end
from fastlane-plugin-pgyer.
单独运行 指令
fastlane run pgyer apikey:xxxxxxxxxx你的tokenxxxxxx apk:/Users/atpking/desktop/1__1_.apk
另外 ~ 这种路径在脚本里如果你环境变量没配置正确, 是读不到的 建议你使用完整的路径
from fastlane-plugin-pgyer.
Related Issues (20)
- 希望使用可选参数:buildChannelShortcut HOT 1
- 增加类似于releaseId 的feature,便于测试安装历史版本 HOT 1
- Failed to open TCP connection to qiniu-storage.pgyer.com:80 HOT 1
- Connection reset by peer HOT 1
- gitaction问题 HOT 3
- 洗澡
- 旧的上传API即将过期,代码该更新了
- 新版本github actions上传超时 HOT 3
- pyger上传成功后,如何获取下载地址? HOT 3
- fastlane add_plugin pgyer Installing plugin dependencies...很长时间没响应 HOT 1
- 怎么设置为当前最新版本
- pgyer方法的ipa参数不支持"~"路径 HOT 2
- pgyer() 上传报错
- 上传ipa报错 HOT 1
- pgyer upload 302 用pgyer的插件上传,报302错误 HOT 5
- 请求更新域名,老域名无法上传ipa了 HOT 3
- 请增加标签,否则无法更新
- PGYER Plugin Published Error: {"code"=>1081, "message"=>"error request"} buildKey: 229798a655419fdbeebd103d0ab84fcf.ipa
- 能显示上传进度吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane-plugin-pgyer.