github-tools / github-tools/github-release-notes
Incorrect logic in release note creation
- Ngôn ngữ chính
- JavaScript
- Star
- 897
- Fork
- 313
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi,
I have used gren for both creating changelog file and generating release notes on the GH releases and have the same wrong results in both cases:
```
# Changelog
## v1.0.7 (29/09/2020)
*No changelog for this release.*
---
## v1.0.6 (29/09/2020)
*No changelog for this release.*
---
## v1.0.5 (29/09/2020)
*No changelog for this release.*
---
## v1.0.4 (29/09/2020)
*No changelog for this release.*
---
## v1.0.3 (29/09/2020)
*No changelog for this release.*
---
## v1.0.2 (29/09/2020)
*No changelog for this release.*
---
## v1.0.1 (29/09/2020)
*No changelog for this release.*
---
## v1.0.0 (29/09/2020)
- List of all the 95 PRs we have.
```
So instead of spreading the 95 PRs in their correct releases, they have all been linked to v1.0.0 (which should just have a few).
I guess this is because the tags/releases have not been created at the time of the commit they are referring to. They have all been created today Sep 29th 2020, but each of them correctly points to the right sha1.
If that is the case, I think that being time-based is not a very robust approach, however it should at least be based on the **date of the commit** the tag is referring to and not the tag's date.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện changelog và đầu ra GitHub release được mô tả trong issue, với các tag được tạo sau các commit đích của chúng. Kiểm tra entry point của việc tạo release note và cách nó xác định release nào chứa từng pull request. Hoàn tất có nghĩa là các pull request trong lịch sử được gán bằng ngày của commit được tham chiếu hoặc target của tag thay vì ngày tạo tag, kèm theo coverage cho kịch bản này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- release
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 42/100