~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tools/win32/build_release.py

  • Committer: John Arbash Meinel
  • Date: 2009-07-24 18:26:21 UTC
  • mfrom: (4567 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4568.
  • Revision ID: john@arbash-meinel.com-20090724182621-68s2jhoqf3pn72n7
Merge bzr.dev 4567 to resolve NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# When preparing a new release, make sure to set all of these to the latest
5
5
# values.
6
6
VERSIONS = {
7
 
    'bzr': '1.16',
8
 
    'qbzr': '0.11.0',
9
 
    'bzrtools': '1.16.0',
10
 
    'bzr-svn': '0.6.1',
11
 
    'bzr-rebase': '0.5.0',
12
 
    'subvertpy': '0.6.7',
 
7
    'bzr': '1.17',
 
8
    'qbzr': '0.12',
 
9
    'bzrtools': '1.17.0',
 
10
    'bzr-svn': '0.6.3-win32-1',
 
11
    'bzr-rewrite': '0.5.1',
 
12
    'subvertpy': '0.6.8',
13
13
}
14
14
 
15
15
# This will be passed to 'make' to ensure we build with the right python
125
125
 
126
126
 
127
127
def _plugin_tag_name(plugin_name):
128
 
    if plugin_name in ('bzr-svn', 'bzr-rebase', 'subvertpy'):
 
128
    if plugin_name in ('bzr-svn', 'bzr-rewrite', 'subvertpy'):
129
129
        return '%s-%s' % (plugin_name, VERSIONS[plugin_name])
130
130
    # bzrtools and qbzr use 'release-X.Y.Z'
131
131
    return 'release-' + VERSIONS[plugin_name]
134
134
def update_plugin(plugin_name):
135
135
    release_dir = get_plugin_release_dir(plugin_name)
136
136
    if not os.path.isdir(plugin_name):
137
 
        if plugin_name in ('bzr-svn', 'bzr-rebase'):
 
137
        if plugin_name in ('bzr-svn', 'bzr-rewrite'):
138
138
            # bzr-svn uses a different repo format
139
139
            call_or_fail([bzr(), 'init-repo', '--rich-root-pack', plugin_name])
140
140
        else:
195
195
    install_plugin('bzrtools')
196
196
    install_plugin('qbzr')
197
197
    install_plugin('bzr-svn')
198
 
    install_plugin('bzr-rebase')
 
198
    install_plugin('bzr-rewrite')
199
199
 
200
200
    build_installer()
201
201