AbsaOSS / AbsaOSS/generate-release-notes

Adding optional parameter - create annotated git tag

未关闭
#332 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
13
派生
0
平均合并
6 小时 50 分钟
30 天内合并 PR
7

描述

### Feature Description

Currently, with the newest version of `v1.3.2`, the Release Notes Generator does assume that the Git Tag already exists. If it does not exist, the action fails.

The way we solved this is that we explicitly create the Git Tag one step before the Release Notes Generator - but this is logically so close to the RN generator workflow, that it could be part of it - configurable by user.

### Problem / Opportunity

Every CI action involving RN Generator must have a git tag creation there. Since this is used on almost every repository, our CI files could be slightly simpler - reducing git tag creation code.

### Acceptance Criteria

The RN generator contains 1 optional parameter, maybe boolean `tag-creation` or something like that.
* If it's `true`, then it will be created (and if it exists already maybe it should just emit warning).
* If `false` then it should not create tag and it should fail loudly.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。