| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 3 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
| 6 # | 6 # |
| 7 | 7 |
| 8 import os | 8 import os |
| 9 import optparse | 9 import optparse |
| 10 import subprocess | 10 import subprocess |
| 11 import sys | 11 import sys |
| 12 import utils | 12 import utils |
| 13 | 13 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 print 'Git adding all new docs' | 85 print 'Git adding all new docs' |
| 86 Run(['git', 'add', '*']) | 86 Run(['git', 'add', '*']) |
| 87 print 'Commiting docs locally' | 87 print 'Commiting docs locally' |
| 88 Run(['git', 'commit', '-m', | 88 Run(['git', 'commit', '-m', |
| 89 'Publish API docs for version %s' % version]) | 89 'Publish API docs for version %s' % version]) |
| 90 print 'Pushing docs to github' | 90 print 'Pushing docs to github' |
| 91 Run(['git', 'push']) | 91 Run(['git', 'push']) |
| 92 | 92 |
| 93 if __name__ == '__main__': | 93 if __name__ == '__main__': |
| 94 sys.exit(Main()) | 94 sys.exit(Main()) |
| OLD | NEW |