From f3239419ffd0948d3255102ca39c0a5ca7d0cffb Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 17 Dec 2019 12:25:43 +0100 Subject: [PATCH] script/build-integration-branch: Add usage Also add a --no-date to make it possible to re-use an existing branch name Signed-off-by: Sebastian Wagner --- src/script/build-integration-branch | 38 ++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/src/script/build-integration-branch b/src/script/build-integration-branch index a15d88cdc2a4..ad960a6a7639 100755 --- a/src/script/build-integration-branch +++ b/src/script/build-integration-branch @@ -1,5 +1,23 @@ #!/usr/bin/env python3 +""" +Builds integration branches. Something similar to + $ git checkout -b branch-name + $ for b in $(get-branches-from-github) ; do + $ git pull b + +Requires `~/.github_token`. + + +Usage: + build-integration-branch