mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
Don't add "+0" when SDK version number's patch is 0.
Review URL: https://codereview.chromium.org//11411293 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15600 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
e6640e35eb
commit
030e9e267f
1 changed files with 4 additions and 1 deletions
|
@ -53,7 +53,10 @@ def Main(argv):
|
|||
print 'Error: Do not run this script from a bleeding_edge checkout.'
|
||||
return -1
|
||||
|
||||
version = '%d.%d.%d+%d' % (major, minor, build, patch)
|
||||
if patch != 0:
|
||||
version = '%d.%d.%d+%d' % (major, minor, build, patch)
|
||||
else:
|
||||
version = '%d.%d.%d' % (major, minor, build)
|
||||
|
||||
tmpDir = tempfile.mkdtemp()
|
||||
pkgName = argv[1].split('/').pop()
|
||||
|
|
Loading…
Reference in a new issue