File: docs-Don-t-try-to-run-cz.patch

package info (click to toggle)
python-inline-snapshot 0.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,116 kB
  • sloc: python: 6,888; makefile: 34; sh: 28
file content (33 lines) | stat: -rw-r--r-- 853 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From: Kathara Sasikumar <katharasasikumar007@gmail.com>
Date: Wed, 16 Apr 2025 16:36:57 +0530
Subject: docs: Don't try to run 'cz'

This binary isn't packaged yet for Debian.

https://github.com/commitizen-tools/commitizen

Forwardeed: not-needed
---
 docs/changelog.md | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/docs/changelog.md b/docs/changelog.md
index 663d457..1ab6c4c 100644
--- a/docs/changelog.md
+++ b/docs/changelog.md
@@ -6,14 +6,9 @@ from subprocess import run
 import re
 
 new_changes = list(Path.cwd().glob("changelog.d/*.md"))
-next_version = (
-    run(["cz", "bump", "--get-next"], capture_output=True)
-    .stdout.decode()
-    .strip()
-)
 
 if new_changes:
-    print(f"## upcoming version ({next_version})")
+    print("# upcomming changes")
 
 for file in new_changes:
     print(file.read_text())