github-tools / github-tools/github-release-notes

All tags in each release instead only commits between tags

Abierto
#279 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
897
Forks
313
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I want to generate the changelog for all releases I have running this

```bash
gren changelog --generate --data-source commits --tags=all --override --token $GITHUB_TOKEN
```

I would expect that each version (tag) contains the commits between old tag and the current one. However, I see each commit from for all releases

```
# Changelog

## v1.0.5-pre (01/01/1970)
- [Create FUNDING.yml](https://github.com/papanito/ansible-role-cloudflared/commit/a9a2a469bb6c7318f64dc04b5f2b851135f76881) - @papanito
- [Update documentation](https://github.com/papanito/ansible-role-cloudflared/commit/0401a2497a7dd22d4d99212ddc3945899d74385c) - @papanito
- [`install_only` will only install, not login, not configure anything](https://github.com/papanito/ansible-role-cloudflared/commit/0ea48ebdcea079a5d196f1c25f01a42b629e4251) - @papanito
- [Fix: Copy cert only if defined](https://github.com/papanito/ansible-role-cloudflared/commit/58512aac3b75c554f0b6e97be2cb73b661580d8c) - @papanito
- [Remove become as part of the role, leave this to user](https://github.com/papanito/ansible-role-cloudflared/commit/1c5b261b89f228fd4939026dd53d569b502266a0) - @papanito
- [Correct issue_tracker_url](https://github.com/papanito/ansible-role-cloudflared/commit/acf4312f085384aaf2851c8d43eea802c4d98d71) - @papanito
- [Fix some bugs. role work properly now](https://github.com/papanito/ansible-role-cloudflared/commit/ccfa40f24c49dcd2600622804e84b2e62837224f) - @papanito
- [[ci] Enable ansible syntax-check](https://github.com/papanito/ansible-role-cloudflared/commit/7c2ad3a2b629024f3bf1f835d633c942adade15f) - @papanito
- [Update README.md](https://github.com/papanito/ansible-role-cloudflared/commit/2154b8cc2316d2c2b269cd3ea9c30ee721737a52) - @papanito
- [[ci] Ensure import-role runs after build](https://github.com/papanito/ansible-role-cloudflared/commit/04c11c47cbeedbb36181d80f931f2974bb8c7048) - @papanito
- [[¢i] Add import-role stage](https://github.com/papanito/ansible-role-cloudflared/commit/22ccbebdee8120d0b4a3e43f1f1dea7cbf961192) - @papanito
- [Disable ansible syntax-check](https://github.com/papanito/ansible-role-cloudflared/commit/06f4027d298cdcf06d05f0a8410767af937e7239) - @papanito
- [[ci] Create github action workflow, remove .travis.yml](https://github.com/papanito/ansible-role-cloudflared/commit/7835d6d65421bc5a110fc036d1983de8928ed675) - @papanito

---

## v1.0.4 (01/01/1970)
- [Create FUNDING.yml](https://github.com/papanito/ansible-role-cloudflared/commit/a9a2a469bb6c7318f64dc04b5f2b851135f76881) - @papanito
- [Update documentation](https://github.com/papanito/ansible-role-cloudflared/commit/0401a2497a7dd22d4d99212ddc3945899d74385c) - @papanito
- [`install_only` will only install, not login, not configure anything](https://github.com/papanito/ansible-role-cloudflared/commit/0ea48ebdcea079a5d196f1c25f01a42b629e4251) - @papanito
- [Fix: Copy cert only if defined](https://github.com/papanito/ansible-role-cloudflared/commit/58512aac3b75c554f0b6e97be2cb73b661580d8c) - @papanito
- [Remove become as part of the role, leave this to user](https://github.com/papanito/ansible-role-cloudflared/commit/1c5b261b89f228fd4939026dd53d569b502266a0) - @papanito
- [Correct issue_tracker_url](https://github.com/papanito/ansible-role-cloudflared/commit/acf4312f085384aaf2851c8d43eea802c4d98d71) - @papanito
- [Fix some bugs. role work properly now](https://github.com/papanito/ansible-role-cloudflared/commit/ccfa40f24c49dcd2600622804e84b2e62837224f) - @papanito
- [[ci] Enable ansible syntax-check](https://github.com/papanito/ansible-role-cloudflared/commit/7c2ad3a2b629024f3bf1f835d633c942adade15f) - @papanito
- [Update README.md](https://github.com/papanito/ansible-role-cloudflared/commit/2154b8cc2316d2c2b269cd3ea9c30ee721737a52) - @papanito
- [[ci] Ensure import-role runs after build](https://github.com/papanito/ansible-role-cloudflared/commit/04c11c47cbeedbb36181d80f931f2974bb8c7048) - @papanito
- [[¢i] Add import-role stage](https://github.com/papanito/ansible-role-cloudflared/commit/22ccbebdee8120d0b4a3e43f1f1dea7cbf961192) - @papanito
- [Disable ansible syntax-check](https://github.com/papanito/ansible-role-cloudflared/commit/06f4027d298cdcf06d05f0a8410767af937e7239) - @papanito
- [[ci] Create github action workflow, remove .travis.yml](https://github.com/papanito/ansible-role-cloudflared/commit/7835d6d65421bc5a110fc036d1983de8928ed675) - @papanito
....
---
```
This is the git log

```
a9a2a46 (HEAD -> master, origin/master) Create FUNDING.yml
0401a24 Update documentation
0ea48eb (tag: v1.0.4) `install_only` will only install, not login, not configure anything
58512aa (tag: v1.0.3) Fix: Copy cert only if defined
1c5b261 (tag: v1.0.2) Remove become as part of the role, leave this to user
acf4312 Correct issue_tracker_url
ccfa40f (tag: v1.0.1) Fix some bugs. role work properly now
7c2ad3a [ci] Enable ansible syntax-check
2154b8c Update README.md
04c11c4 [ci] Ensure import-role runs after build
22ccbeb [¢i] Add import-role stage
06f4027 Disable ansible syntax-check
7835d6d [ci] Create github action workflow, remove .travis.yml
54ceeda (tag: v1.0.0) Initial commit
```

Version: `0.17.3`

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza ejecutando el comando gren changelog indicado contra el historial de tags mostrado en el issue y, después, sigue cómo se seleccionan los tags de release y los rangos de commits. Compara cada sección generada con el límite del tag anterior; se considera terminado cuando cada release contiene solo los commits desde el tag anterior, en lugar de todo el historial.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript, node.js
Área
cli, release
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.