jetbrains: Commit in one line
Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
This commit is contained in:
parent
2837dc7608
commit
a56241ed7b
|
@ -383,8 +383,7 @@ def main():
|
|||
# Commit the result
|
||||
commitMessage = "jetbrains.plugins: update"
|
||||
print("#### Committing changes... ####")
|
||||
run(['git', 'add', PLUGINS_FILE], check=True)
|
||||
run(['git', 'commit', '--file=-'], input=commitMessage.encode(), check=True)
|
||||
run(['git', 'commit', f'-m{commitMessage}', '--', f'{PLUGINS_FILE}'], check=True)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
@ -122,8 +122,7 @@ for name in toVersions.keys():
|
|||
|
||||
# Commit the result
|
||||
logging.info("#### Committing changes... ####")
|
||||
subprocess.run(['git', 'add', versions_file_path], check=True)
|
||||
subprocess.run(['git', 'commit', '--file=-'], input=commitMessage.encode(), check=True)
|
||||
subprocess.run(['git', 'commit', f'-m{commitMessage}', '--', f'{versions_file_path}'], check=True)
|
||||
|
||||
logging.info("#### Updating plugins ####")
|
||||
plugin_script = current_path.joinpath("plugins/update_plugins.py").resolve()
|
||||
|
|
Loading…
Reference in a new issue