Skip to content

Latest commit

 

History

History
107 lines (68 loc) · 4.25 KB

CONTRIBUTING.zh.md

File metadata and controls

107 lines (68 loc) · 4.25 KB

贡献

要参与此项目,请您同意遵守我们的要求行为守则.

原文

设置您的机器

goreleaserGo语言编写.

先决条件:

  • make
  • Go1.11+
  • rpmbuild(apt get install rpm/brew install rpm)
  • snapcraft
  • Docker
  • gpg(可能已安装在您的系统上)

Clone goreleaser 到任何地方:

$ git clone [email protected]:goreleaser/goreleaser.git

安装构建和lint依赖项:

$ make setup

确保一切正常的好方法,是运行测试套件:

$ make test

测试你的变化

您可以为更改创建分支,并尝试从源代码构建:

$ make build

如果您对更改感到满意,我们建议您运行:

$ make ci

哪个运行所有的套件和测试.

创建一个提交

提交消息的格式要很好。使用类型为启动的提交消息。选择以下之一:feat,fix,docs,style,refactor,perf,test,chore,revert,add,remove,move,bump,update,release

冒号之后,您应该给消息一个标题,大写开头且结尾没有点。保持文本的宽度为72个字符。标题必须后跟换行符,然后是更详细的说明.

请在提交消息的最后一行,引用任何GitHub问题(例如See #123,Closes #123,Fixes #123).

一个例子:

docs: Add example for --release-notes flag

I added an example to the docs of the `--release-notes` flag to make
the usage more clear.  The example is an realistic use case and might
help others to generate their own changelog.

See #284

提交拉取请求

把你的分支推到你的goreleaserfork,并打开对主分支的pull请求.

捐助

我们也欢迎我们的捐助,完全透明的opencollective。任何人都可以提出费用。如果费用对社区的发展有意义,它将由核心贡献者在我们的opencollective的分类账中"合并",并且报销费用的人将获得报销.

里碑

贡献者

感谢所有已经为goreleaser做出贡献的人们!

支持者

谢谢所有支持者![成为支持者]

赞助商

感谢所有赞助商!(请让您的公司也支持这个开源项目,成为赞助商)