Skip to content

Commit c9b6857

Browse files
committed
Fixing other kind of change issue + missing tests
1 parent 76f0f74 commit c9b6857

File tree

5 files changed

+24
-3
lines changed

5 files changed

+24
-3
lines changed

scripts/release/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,10 @@ def git_repo(change_log_path: str = DEFAULT_CHANGELOG_PATH) -> Repo:
5555
repo.create_tag("1.1.0", message="Public search preview release")
5656

5757
## OIDC release and 1.2.0 tag
58-
changelog_file = add_file(repo_dir, "changelog/20250610_feature_oidc.md")
59-
repo.index.add(changelog_file)
58+
changelog_file_1 = add_file(repo_dir, "changelog/20250609_chore_not_oidc.md")
59+
changelog_file_2 = add_file(repo_dir, "changelog/20250610_feature_oidc.md")
60+
changelog_file_3 = add_file(repo_dir, "changelog/20250611_other_not_oidc.md")
61+
repo.index.add([changelog_file_1, changelog_file_2, changelog_file_3])
6062
repo.index.commit("OIDC integration")
6163
repo.create_tag("1.2.0", message="OIDC integration release")
6264

scripts/release/release_notes_tpl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{{- fix -}}
2626
{%- endfor -%}
2727
{%- endif -%}
28-
{% if other %}
28+
{% if others %}
2929
## Other Changes
3030

3131
{% for other in others -%}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Some chore type of change
3+
kind: chore
4+
date: 2025-06-09
5+
---
6+
7+
* Fixing CI/CD pipeline issues.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Some other change
3+
kind: other
4+
date: 2025-06-11
5+
---
6+
7+
* Some other change that is not related to OIDC authentication.

scripts/release/testdata/release_notes_1.2.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,8 @@
1111
* [Secure Client Authentication with OIDC](https://www.mongodb.com/docs/kubernetes/upcoming/tutorial/secure-client-connections/)
1212
* [Manage Database Users using OIDC](https://www.mongodb.com/docs/kubernetes/upcoming/manage-users/)
1313
* [Authentication and Authorization with OIDC/OAuth 2.0](https://www.mongodb.com/docs/manual/core/oidc/security-oidc/)
14+
15+
## Other Changes
16+
17+
* Fixing CI/CD pipeline issues.
18+
* Some other change that is not related to OIDC authentication.

0 commit comments

Comments
 (0)