diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-22 08:27:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-22 08:40:49 +0300 |
commit | 24574aef2299925c10eeb9d20a942f36d1d806d4 (patch) | |
tree | e05affad9e645047bddee6a93ca69e11445f50fa /subplot/bumper.py | |
parent | 3f68ce4a8e9b295a4b9fc288174f166e229da8b0 (diff) | |
download | bumper-rs-24574aef2299925c10eeb9d20a942f36d1d806d4.tar.gz |
feat: use project's name in git tag template
Diffstat (limited to 'subplot/bumper.py')
-rw-r--r-- | subplot/bumper.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subplot/bumper.py b/subplot/bumper.py index 3edad5e..3c2f8fd 100644 --- a/subplot/bumper.py +++ b/subplot/bumper.py @@ -11,6 +11,10 @@ def install_bumper(ctx): runcmd_prepend_to_path(ctx, dirname=os.path.join(srcdir, "target", "debug")) +def chmod_exec(ctx, filename=None): + os.chmod(filename, 0o755) + + def git_init_and_commit_everything(ctx, dirname=None): runcmd_run = globals()["runcmd_run"] runcmd_exit_code_is_zero = globals()["runcmd_exit_code_is_zero"] |