Skip to content

Commit 2ad6a43

Browse files
authored
DAGE-465: Fixed missing curly brackets and added new words (#1132)
1 parent 27c4dba commit 2ad6a43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/changelog/changelog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# Lists of words to guess the entry type
2727
bug_fix = ['fix', 'fixed', 'fixing']
2828
deprecation = ['deprecate', 'deprecated','deprecating', 'deprecation']
29-
improvement = ['improve', 'improved', 'improving', 'improvement', 'enhance', 'enhanced', 'enhancing', 'enhancement', 'update', 'updated', 'updating', 'upgrade', 'upgraded', 'upgrading']
29+
improvement = ['improve', 'improved', 'improving', 'improvement', 'enhance', 'enhanced', 'enhancing', 'enhancement', 'update', 'updated', 'updating', 'upgrade', 'upgraded', 'upgrading', 'add', 'added', 'adding', 'migrate', 'migrated', 'migrating', 'bump', 'bumps']
3030
issue_identified = ['identify', 'identified', 'identifying']
3131
new_feature = ['new version']
3232
removed = ['remove', 'removed', 'removing', 'removal']
@@ -254,7 +254,7 @@ def getPRsToDocument(): # Find PRs that need to be documented and create draft c
254254

255255
# Create the filename and content of the changelog file and create it
256256
md_filename = f'{path}/{pr_date}-{tap}-v{connection_version}-{pr_title_for_md_filename}.md'
257-
md_text = f'---\ntitle: "{connection_name} (v{connection_version}): {pr_title}"\ncontent-type: "changelog-entry"\ndate: {pr_date}\nentry-type: {entry_type}\nentry-category: integration\nconnection-id: {connection_id}\nconnection-version: {connection_version}\npull-request: "{pr_url}"\n---\n{{ site.data.changelog.metadata.single-integration | flatify }}\n\nWe\'ve improved our {{ this-connection.display_name }} (v{{ this-connection.this-version }}) integration to {pr_title_for_md_description}.'
257+
md_text = f'---\ntitle: "{connection_name} (v{connection_version}): {pr_title}"\ncontent-type: "changelog-entry"\ndate: {pr_date}\nentry-type: {entry_type}\nentry-category: integration\nconnection-id: {connection_id}\nconnection-version: {connection_version}\npull-request: "{pr_url}"\n---\n{{{{ site.data.changelog.metadata.single-integration | flatify }}}}\n\nWe\'ve improved our {{{{ this-connection.display_name }}}} (v{{{{ this-connection.this-version }}}}) integration to {pr_title_for_md_description}.'
258258
with open(md_filename, 'w') as out:
259259
out.write(md_text)
260260

0 commit comments

Comments
 (0)