AbsaOSS / AbsaOSS/generate-release-notes

Adding optional parameter - create annotated git tag

Ouverte
#332 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
13
Forks
0
Merge moyen
6 h 50 min
PR mergées (30 j)
7

Description

### 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.