如何在 Travis CI 中发布工件? [英] How to publish artifacts in Travis CI?

查看:32
本文介绍了如何在 Travis CI 中发布工件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将 Travis CI 用于我的开源项目.Travis 没有提供任何方式来发布已生产的工件的问题(不过,他们在未来的计划中有此功能).

I would like to use Travis CI for my open-source project. The issue that Travis doesn't provide any ways to publish produced artifacts (though, they have this in their future plans).

在某处发布/上传工件的解决方法是什么?我可以在 CI 机器上执行任何脚本.

What are workarounds to publish/upload artifacts somewhere? I'm allowed to execute any scripts on a CI machine.

简单的上传是可行的,但存在安全问题:任何人都可以像所有来源都是公开的一样上传内容.

Simple upload will work, but there is security issue: anyone will be able to upload something in the same way as all sources are public.

推荐答案

最近宣布了github 发布上传"功能.它正式支持所需的一切.参见 http://docs.travis-ci.com/user/deployment/releases/

The "github releases uploading" feature is announced recently. It officially supports everything that is needed. See http://docs.travis-ci.com/user/deployment/releases/

这篇关于如何在 Travis CI 中发布工件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆