Skip to content

Commit

Permalink
Remove an extraneous commit during the release process
Browse files Browse the repository at this point in the history
We only need to run `git commit` after the `git merge` call if there were conflicts.
  • Loading branch information
henrymercer authored May 11, 2022
1 parent 75b4f1c commit 3bb6c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/update-release-branch.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def main():
conflicted_files = run_git('diff', '--name-only', '--diff-filter', 'U').splitlines()
if len(conflicted_files) > 0:
run_git('add', '.')
run_git('commit', '--no-edit')
run_git('commit', '--no-edit')

# Migrate the package version number from a v2 version number to a v1 version number
print(f'Setting version number to {version}')
Expand Down

0 comments on commit 3bb6c41

Please sign in to comment.