diff options
| -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') |
