Skip to content

Commit

Permalink
Merge pull request #9 from devqik/git-diff-from-the-main-branch
Browse files Browse the repository at this point in the history
git diff from the main or master branch
  • Loading branch information
devqik authored Jun 21, 2023
2 parents f86f5f4 + d53b609 commit fb1bc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bump_helm_chart_version/bump_chart_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def increment_patch_version(version):

# Get list of chart directories that have changed
git_diff_output = subprocess.run(
['git', 'diff', '--name-only', 'HEAD'],
['git', 'diff', '--name-only', main_branch_name],
check=True, capture_output=True, text=True
)
changed_files = git_diff_output.stdout.splitlines()
Expand Down

0 comments on commit fb1bc33

Please sign in to comment.