Skip to content
代码片段 群组 项目
提交 96c3c08f 编辑于 作者: ling zhang's avatar ling zhang
浏览文件

fix: #145 Failed to replace the download url of apk

上级 ea144492
No related branches found
No related tags found
无相关合并请求
......@@ -64,5 +64,5 @@ upload-apk:
- 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${ANDROID_APK_PATH}/${APK_FILENAME} "${APK_URL_PATH}"'
- APK_URL="${CI_API_V4_URL}/${APK_FILENAME}"
- echo $APK_URL
- 'sed -i "" "s#\"url\":.*#\"url\": \"$APK_URL\"#g" updater.json'
- 'sed -i "s#\"url\":.*#\"url\": \"$APK_URL\"#g" updater.json'
- 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file updater.json "${APK_URL_PATH}"'
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册