update the list-changes output to make it easier to read
Add a more distinct section break for each deliverable file, to make it easier to scan the output when multiple files are being modified. Add some whitespace in front of calling zuul-cloner to separate it from the other output. Clarify that existing tags are on the server already. Change-Id: Iec41e7849522fb59aab6838d5946a8f02fe7a9c4 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
38d7389ac3
commit
0ae3d61949
@ -105,7 +105,8 @@ def main():
|
||||
if not os.path.exists(filename):
|
||||
print('\n%s was removed, skipping' % filename)
|
||||
continue
|
||||
print('\nChecking %s' % filename)
|
||||
print('\n' + ('=' * 80))
|
||||
print('\nChecking %s\n' % filename)
|
||||
with open(filename, 'r') as f:
|
||||
deliverable_info = yaml.load(f.read())
|
||||
|
||||
@ -131,10 +132,11 @@ def main():
|
||||
new_release['version'],
|
||||
)
|
||||
if tag_exists:
|
||||
print('%s %s exists already' %
|
||||
print('%s %s exists on git server already' %
|
||||
(project['repo'], new_release['version']))
|
||||
|
||||
# Check out the code.
|
||||
print('\nChecking out repository')
|
||||
subprocess.check_call(
|
||||
['zuul-cloner',
|
||||
'--branch', branch,
|
||||
|
Loading…
x
Reference in New Issue
Block a user