首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >定制版本页

定制版本页
EN

Stack Overflow用户
提问于 2021-08-11 15:06:47
回答 1查看 17关注 0票数 0

上下文,在标记发布之前,团队准备一个RELEASE_NOTES.md文件。我们希望使用此文件的内容作为内容,以便在我们剪切发布后显示在发布页面上。

是否可以通过简单地使用现有文件的内容来定制Github上发布页面的内容?

我知道你可以通过https://goreleaser.com/customization/release/#github提供的现有文件对其进行自定义。有没有可能用cat打开一个文件?

EN

回答 1

Stack Overflow用户

发布于 2021-09-13 01:01:55

是的,这是可能的。goreleaser release命令中有几个标志:

代码语言:javascript
复制
  --release-footer string        Load custom release notes footer from a markdown file
  --release-footer-tmpl string   Load custom release notes footer from a templated markdown file (overrides --release-footer)
  --release-header string        Load custom release notes header from a markdown file
  --release-header-tmpl string   Load custom release notes header from a templated markdown file (overrides --release-header)
  --release-notes string         Load custom release notes from a markdown file
  --release-notes-tmpl string    Load custom release notes from a templated markdown file (overrides --release-notes)

您可能需要--release-notes

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68744563

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档