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
2 changed files with 2 additions and 4 deletions
|
@ -383,8 +383,7 @@ def main():
|
||||||
# Commit the result
|
# Commit the result
|
||||||
commitMessage = "jetbrains.plugins: update"
|
commitMessage = "jetbrains.plugins: update"
|
||||||
print("#### Committing changes... ####")
|
print("#### Committing changes... ####")
|
||||||
run(['git', 'add', PLUGINS_FILE], check=True)
|
run(['git', 'commit', f'-m{commitMessage}', '--', f'{PLUGINS_FILE}'], check=True)
|
||||||
run(['git', 'commit', '--file=-'], input=commitMessage.encode(), check=True)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
@ -122,8 +122,7 @@ for name in toVersions.keys():
|
||||||
|
|
||||||
# Commit the result
|
# Commit the result
|
||||||
logging.info("#### Committing changes... ####")
|
logging.info("#### Committing changes... ####")
|
||||||
subprocess.run(['git', 'add', versions_file_path], check=True)
|
subprocess.run(['git', 'commit', f'-m{commitMessage}', '--', f'{versions_file_path}'], check=True)
|
||||||
subprocess.run(['git', 'commit', '--file=-'], input=commitMessage.encode(), check=True)
|
|
||||||
|
|
||||||
logging.info("#### Updating plugins ####")
|
logging.info("#### Updating plugins ####")
|
||||||
plugin_script = current_path.joinpath("plugins/update_plugins.py").resolve()
|
plugin_script = current_path.joinpath("plugins/update_plugins.py").resolve()
|
||||||
|
|
Loading…
Reference in a new issue