Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Use 'buildout.cfg' for version pins in recent releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Mar 14, 2016
1 parent 051bb07 commit a892124
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/zope/z2release/cli.py
Expand Up @@ -55,7 +55,10 @@ def main():
print('Creating index directory: %s' % dirname)
os.makedirs(dirname)

url = '%s/%s/versions.cfg' % (GITHUB_RAW, tag)
if tuple(tag.split('.')) >= (2, 13, 23):
url = '%s/%s/buildout.cfg' % (GITHUB_RAW, tag)
else:
url = '%s/%s/versions.cfg' % (GITHUB_RAW, tag)
CP = build_version_file('versions.cfg', dirname, url)

buildout = CP.options('buildout')
Expand Down

0 comments on commit a892124

Please sign in to comment.