aboutsummaryrefslogtreecommitdiff
path: root/releng/cli.py
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-08-07 20:31:02 -0700
committerJade Lovelace <lix@jade.fyi>2024-08-07 20:52:09 -0700
commit83247b1c38899a48a7ef683a1d1c14b21cb917d2 (patch)
tree2af198249c5a71a4a0ebb5084b4909c60b4ad04b /releng/cli.py
parent8a86f38bca61ab67dcc137c4966f32b3dc2251d9 (diff)
releng: clarify/update docs, add instructions after tag
This is not a proper fix for the confusion that can happen about how the tags are supposed to be used. For a proper fix, we need to do https://git.lix.systems/lix-project/lix/issues/439 and implement worktrees such that the user never sees the git state anymore. Change-Id: I7b543967f522cede486e42684b48cad47da95429
Diffstat (limited to 'releng/cli.py')
-rw-r--r--releng/cli.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/releng/cli.py b/releng/cli.py
index f78d4b12d..f2d193444 100644
--- a/releng/cli.py
+++ b/releng/cli.py
@@ -1,10 +1,13 @@
+import logging
+import argparse
+import sys
+
from . import create_release
from . import docker
from .environment import RelengEnvironment
from . import environment
-import argparse
-import sys
+log = logging.getLogger(__name__)
def do_build(args):
if args.target == 'all':
@@ -21,6 +24,9 @@ def do_tag(args):
create_release.do_tag_merge(force_tag=args.force_tag,
no_check_git=args.no_check_git)
+ log.info('Merged the release commit into your last branch, and switched to a detached HEAD of the artifact to be released.')
+ log.info('After you are done with releasing, switch to your previous branch and push that branch for review.')
+
def do_upload(env: RelengEnvironment, args):
create_release.setup_creds(env)