Skip to content

Commit

Permalink
Merge pull request #4380 from willkg/eight-to-seven
Browse files Browse the repository at this point in the history
Switch to 7 character sha prefixes
  • Loading branch information
willkg committed Mar 12, 2018
2 parents 1de370c + fbaa9ad commit ab7eac5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/deploy_bug.py
Expand Up @@ -106,19 +106,19 @@ def main(argv):
print()
print('It consists of the following:')
print()
print('(current tag: %s - %s)' % (current_tag, sha[:8]))
print('(current tag: %s - %s)' % (current_tag, sha[:7]))

# Print the commits out skipping merge commits
for commit in commits:
if len(commit['parents']) > 1:
continue

print('%s: %s' % (
commit['sha'][:8],
commit['sha'][:7],
commit['commit']['message'].splitlines()[0][:80]
))

print('(next tag: %s - %s)' % (next_tag, commits[-1]['sha'][:8]))
print('(next tag: %s - %s)' % (next_tag, commits[-1]['sha'][:7]))
print()

# Print all possible post-deploy steps--we winnow the unnecessary ones when
Expand Down

0 comments on commit ab7eac5

Please sign in to comment.