[meld] maint: Add pull command
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] maint: Add pull command
- Date: Sat, 23 Aug 2014 04:18:36 +0000 (UTC)
commit affb87bcdbd6d8f6eef5446698a9dd215606761e
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Aug 23 06:22:46 2014 +1000
maint: Add pull command
maint.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/maint.py b/maint.py
index 291725e..f687c28 100755
--- a/maint.py
+++ b/maint.py
@@ -269,7 +269,9 @@ def markdown():
@cli.command()
def pull():
- branch = check_release_branch()
+ check_release_branch()
+ cmd = ['git', 'pull', '--rebase']
+ call_with_output(cmd)
@cli.command()
@@ -312,7 +314,7 @@ def tag():
@click.pass_context
def make_release(ctx):
- # Pull
+ ctx.forward(pull)
# Write news, add news to NEWS, commit, push
archive_path = ctx.forward(dist)
ctx.forward(tag)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]