Skip to content

Commit 665801c

Browse files
mention filename in every deploy commit
1 parent 20dd847 commit 665801c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gitopscli/commands/deploy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def deploy_command(
5757
updated_values[key] = value
5858

5959
if not single_commit:
60-
git.commit(f"changed '{key}' to '{value}'")
60+
git.commit(f"changed '{key}' to '{value}' in {file}")
6161

6262
if not updated_values:
6363
logging.info("All values already up-to-date. I'm done here")
@@ -66,7 +66,7 @@ def deploy_command(
6666
if single_commit:
6767
if len(updated_values) == 1:
6868
key, value = list(updated_values.items())[0]
69-
git.commit(f"changed '{key}' to '{value}'")
69+
git.commit(f"changed '{key}' to '{value}' in {file}")
7070
else:
7171
msg = f"updated {len(updated_values)} value{'s' if len(updated_values) > 1 else ''} in {file}"
7272
msg += f"\n\n{yaml_dump(updated_values)}"

0 commit comments

Comments
 (0)