shell - 从 shell 脚本发布下载到 bitbucket

标签 shell bitbucket

我希望能够通过 shell 脚本完全自动化打包应用程序(在 Xcode 中)的发布过程,并且我希望发布的 zip 存档可以在 bitbucket 上下载。有没有办法以编程方式使(zip)文件可在 bitbucket 上下载?

最佳答案

我做了一个我用来从我的 buildbot 发布每晚构建的。
它可用于 Bash 和 Batch,到目前为止工作正常。

你可以在这里找到它,它的注释很好,需要 cURL 和 grep:
https://bitbucket.org/Swyter/bitbucket-curl-upload-to-repo-downloads

好:准系统,只有 46 个 LOC,带有 CSRF 处理。
坏:不检查验证码或成功,如果需要,您可以轻松地自己解析页面。

关于shell - 从 shell 脚本发布下载到 bitbucket,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2785600/

相关文章:

linux - centos7“导出: command not found

bash - 如何在 shell 脚本中调用 ioctl?

git - 我如何让 Jenkins 在推送到 BitBucket git 存储库的基础上构建?

android-studio - 在android studio中更改bitbucket url存储库

bitbucket - 适用于所有存储库的 Bitbucket Webhook

bash - Bash Shell 变量中的引号不起作用,为什么?

windows - 使用 SSH 在 Windows 中远程调用显示桌面

shell - Solaris 10/bin/sh 在间接上 fork

git - 在没有密码提示的情况下从 bitbucket 中获取 pull

java - 当我尝试从 git 获取最新代码时,git 中出现 pull 时间错误