Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Francesco Witz
Changelog Generator
Commits
46bb983c
Commit
46bb983c
authored
Mar 24, 2022
by
Francesco Witz
Browse files
Merge branch 'fix' into 'main'
fix: line formatting See merge request
!13
parents
ed4251d4
147e324f
Changes
1
Hide whitespace changes
Inline
Side-by-side
file_generator.py
View file @
46bb983c
...
...
@@ -70,27 +70,27 @@ def write_changes(project_path: str, file: File, commits: list[Commit]):
if
added
:
section
.
append
(
"### Added
\n
"
)
for
e
in
added
:
section
.
append
(
"- "
+
e
+
"\
”
"
)
section
.
append
(
"- "
+
e
+
"
\
n
"
)
section
.
append
(
"
\n
"
)
if
changed
:
section
.
append
(
"### Changed
\n
"
)
for
e
in
changed
:
section
.
append
(
"- "
+
e
+
"\
”
"
)
section
.
append
(
"- "
+
e
+
"
\
n
"
)
section
.
append
(
"
\n
"
)
if
removed
:
section
.
append
(
"### Removed
\n
"
)
for
e
in
removed
:
section
.
append
(
"- "
+
e
+
"\
”
"
)
section
.
append
(
"- "
+
e
+
"
\
n
"
)
section
.
append
(
"
\n
"
)
if
security
:
section
.
append
(
"### Security
\n
"
)
for
e
in
security
:
section
.
append
(
"- "
+
e
+
"\
”
"
)
section
.
append
(
"- "
+
e
+
"
\
n
"
)
section
.
append
(
"
\n
"
)
if
doc
:
section
.
append
(
"### Doc
\n
"
)
for
e
in
doc
:
section
.
append
(
"- "
+
e
+
"\
”
"
)
section
.
append
(
"- "
+
e
+
"
\
n
"
)
section
.
append
(
"
\n
"
)
# Finally writting everything to file
lines
=
file
.
read_chlog
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment