mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 20:12:42 +02:00
Move status message (#8361)
This commit is contained in:
@@ -166,6 +166,9 @@ def promote_snaps(version):
|
|||||||
assert_logged_into_snapcraft()
|
assert_logged_into_snapcraft()
|
||||||
for snap in SNAPS:
|
for snap in SNAPS:
|
||||||
revisions = get_snap_revisions(snap, version)
|
revisions = get_snap_revisions(snap, version)
|
||||||
|
# The loop below is kind of slow, so let's print some output about what
|
||||||
|
# it is doing.
|
||||||
|
print('Releasing', snap, 'snaps to the stable channel')
|
||||||
for revision in revisions:
|
for revision in revisions:
|
||||||
cmd = ['snapcraft', 'release', snap, revision, 'stable']
|
cmd = ['snapcraft', 'release', snap, revision, 'stable']
|
||||||
try:
|
try:
|
||||||
@@ -175,9 +178,6 @@ def promote_snaps(version):
|
|||||||
print("The output printed to stdout was:")
|
print("The output printed to stdout was:")
|
||||||
print(e.stdout)
|
print(e.stdout)
|
||||||
raise
|
raise
|
||||||
# This loop is kind of slow, so let's print some output about what it
|
|
||||||
# is doing.
|
|
||||||
print('Successfully released', snap, 'to the stable channel.')
|
|
||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
|
|||||||
Reference in New Issue
Block a user