Skip to content
Permalink
Browse files

Sign commits by automated tasks.

  • Loading branch information
blueset committed Aug 19, 2019
1 parent 769230c commit d97404595f07c345deacc0656fb07dca78551949
Showing with 4 additions and 4 deletions.
  1. +1 −1 bump.py
  2. +1 −1 dodo.py
  3. +1 −1 efb_wechat_slave/__version__.py
  4. +1 −1 pre-commit
@@ -141,7 +141,7 @@ def main():

if not args.dry_run and not args.no_commit:
subprocess.check_output(["git", "add", "--update", version_file_path])
subprocess.check_output(["git", "commit", "-m", bump_message])
subprocess.check_output(["git", "commit", "-S", "-m", bump_message])

if args.tag:
subprocess.check_output(["git", "tag", new_ver])
@@ -86,7 +86,7 @@ def task_crowdin_pull():
def task_commit_lang_file():
def git_actions():
if subprocess.run(['git', 'diff-index', '--quiet', 'HEAD']).returncode != 0:
return ["git commit -m \"Sync localization files from Crowdin\""]
return ["git commit -S -m \"Sync localization files from Crowdin\""]
return ["echo"]

return {
@@ -1,3 +1,3 @@
# coding: utf-8

__version__ = "2.0.0a25.dev1"
__version__ = "2.0.0a25.dev2"
@@ -26,7 +26,7 @@ if any("__version__.py" in i for i in stashed):
# Bump version by a "dev".
bump_py = str(pathlib.Path(ROOT_PATH) / "bump.py")
subprocess.run((bump_py, '--allow-dirty', '--no-commit', 'dev'),
capture_output=False)
capture_output=True)
subprocess.run(("git", "add", VERSION_FILE),
capture_output=True)
exit(0)

0 comments on commit d974045

Please sign in to comment.
You can’t perform that action at this time.