diff options
| author | Mike Frysinger <vapier@google.com> | 2020-02-29 01:49:56 -0500 |
|---|---|---|
| committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-29 07:20:24 +0000 |
| commit | b967f5c17a04d6a01c234427b3b5c9b49dff6ca5 (patch) | |
| tree | 67b67650e33b46a2cbdead7ca921ae5b03a58cc0 | |
| parent | dc15532beef6641346382228e81b81ce4bf64dc8 (diff) | |
| download | git-repo-b967f5c17a04d6a01c234427b3b5c9b49dff6ca5.tar.gz | |
release: add tips for when to push prod changes
Change-Id: Iabfdd322acbc60ee16e5222ecdb261cd3a3c2cf9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/257332
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: David Pursehouse <dpursehouse@collab.net>
| -rwxr-xr-x | release/sign-tag.py | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/release/sign-tag.py b/release/sign-tag.py index 7b4b4cab..09f89187 100755 --- a/release/sign-tag.py +++ b/release/sign-tag.py | |||
| @@ -15,7 +15,14 @@ | |||
| 15 | 15 | ||
| 16 | """Helper tool for signing repo release tags correctly. | 16 | """Helper tool for signing repo release tags correctly. |
| 17 | 17 | ||
| 18 | This is intended to be run only by the official Repo release managers. | 18 | This is intended to be run only by the official Repo release managers, but it |
| 19 | could be run by people maintaining their own fork of the project. | ||
| 20 | |||
| 21 | NB: Avoid new releases on off-hours. If something goes wrong, staff/oncall need | ||
| 22 | to be active in order to respond quickly & effectively. Recommend sticking to: | ||
| 23 | * Mon - Thu, 9:00 - 14:00 PT (i.e. MTV time) | ||
| 24 | * Avoid US holidays (and large international ones if possible) | ||
| 25 | * Follow the normal Google production freeze schedule | ||
| 19 | """ | 26 | """ |
| 20 | 27 | ||
| 21 | import argparse | 28 | import argparse |
| @@ -86,7 +93,9 @@ To roll back a release: | |||
| 86 | 93 | ||
| 87 | def get_parser(): | 94 | def get_parser(): |
| 88 | """Get a CLI parser.""" | 95 | """Get a CLI parser.""" |
| 89 | parser = argparse.ArgumentParser(description=__doc__) | 96 | parser = argparse.ArgumentParser( |
| 97 | description=__doc__, | ||
| 98 | formatter_class=argparse.RawDescriptionHelpFormatter) | ||
| 90 | parser.add_argument('-n', '--dry-run', | 99 | parser.add_argument('-n', '--dry-run', |
| 91 | dest='dryrun', action='store_true', | 100 | dest='dryrun', action='store_true', |
| 92 | help='show everything that would be done') | 101 | help='show everything that would be done') |
