Skip to content

Commit b0e1731

Browse files
committed
ci/cd: Fix markdown header sizes of new release
1 parent d79fadc commit b0e1731

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/scripts/update_files_after_release.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ def update_changelog(changelog_path: Path, release_tag: str, release_body: str)
1919
changelog_str = '# Changelog\n\n'
2020
release_header = f'## {release_tag} ({release_date})\n'
2121
release_body = f'{release_body}\n'
22-
release_body = release_body.replace(
23-
"## What's Changed", "### What's Changed"
24-
) # make sure release body headers have the right size
22+
release_body = release_body.replace("## ", "### ") # make sure release body headers have the right size
2523

2624
# construct changelog
2725
lines = [changelog_str, release_header, release_body] + lines[1:]

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Changelog
22

33
## v1.7.2 (Apr 12, 2026)
4-
### What's Changed
5-
* **Security Update:** Update dependencies in https://github.com/mrmn2/PdfDing/pull/301 + https://github.com/mrmn2/PdfDing/pull/302
4+
### What's Changed
5+
* **Security Update:** Update dependencies in https://github.com/mrmn2/PdfDing/pull/301 + https://github.com/mrmn2/PdfDing/pull/302
66

77

88
## v1.7.1 (Mar 30, 2026)
@@ -24,7 +24,7 @@
2424
* Fix: Deactivate mfa for OIDC_ONLY setting, otherwise not working by @mrmn2 in https://github.com/mrmn2/PdfDing/pull/282
2525
* Update dependencies by @dependabot[bot] + @mrmn2 in https://github.com/mrmn2/PdfDing/pull/281 and https://github.com/mrmn2/PdfDing/pull/283
2626

27-
## New Contributors
27+
### New Contributors
2828
* @niggoo made their first contribution in https://github.com/mrmn2/PdfDing/pull/276
2929

3030
## v1.6.2 (Mar 08, 2026)
@@ -37,7 +37,7 @@
3737
* Fix: Set secure default value for MFA env variables @mrmn2 in https://github.com/mrmn2/PdfDing/pull/270
3838
* Make gunicorn worker timeout configurable via new ENV var. by @jpoesen in https://github.com/mrmn2/PdfDing/pull/269
3939

40-
## New Contributors
40+
### New Contributors
4141
* @jpoesen made their first contribution in https://github.com/mrmn2/PdfDing/pull/269
4242

4343
## v1.6.0 (Mar 01, 2026)
@@ -49,7 +49,7 @@
4949
* Fix: Allow saving of changed PDFs containing ' chars inside the viewer by @mrmn2 in https://github.com/mrmn2/PdfDing/pull/266
5050
* Update dependencies by @dependabot[bot] in https://github.com/mrmn2/PdfDing/pull/267 and https://github.com/mrmn2/PdfDing/pull/268
5151

52-
## New Contributors
52+
### New Contributors
5353
* @Sparlitu made their first contribution in https://github.com/mrmn2/PdfDing/pull/267
5454

5555
## v1.5.1 (Feb 04, 2026)
@@ -62,7 +62,7 @@
6262
This release introduces workspaces and collections, which greatly improve the management of your PDF files.
6363

6464
## Important
65-
Before updating, make sure to take a backup. The internal changes in this release are quite substantial and while everything is thoroughly tested, problems could still arise when performing the migrations.
65+
Before updating, make sure to take a backup. The internal changes in this release are quite substantial and while everything is thoroughly tested, problems could still arise when performing the migrations.
6666

6767
### What's Changed
6868

@@ -73,7 +73,7 @@ Before updating, make sure to take a backup. The internal changes in this releas
7373
* Update dependencies by @mrmn2 in https://github.com/mrmn2/PdfDing/pull/240
7474
* feat: allow specifying region for s3 backups by @phanirithvij in https://github.com/mrmn2/PdfDing/pull/242
7575

76-
## New Contributors
76+
### New Contributors
7777
* @phanirithvij made their first contribution in https://github.com/mrmn2/PdfDing/pull/202
7878

7979
## v1.4.1 (Nov 15, 2025)

0 commit comments

Comments
 (0)