Skip to content

Commit 420382a

Browse files
committed
Rename to index-windows.json
1 parent 1e286e1 commit 420382a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

windows-release/merge-and-upload.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ def install_sortkey(install):
240240
index["versions"][:0] = new_installs
241241

242242
if INDEX_FILE:
243+
INDEX_FILE = Path(INDEX_FILE).absolute()
244+
INDEX_FILE.parent.mkdir(parents=True, exist_ok=True)
243245
with open(INDEX_FILE, "w", encoding="utf-8") as f:
244246
# Include an indent for sanity while testing.
245247
# We should probably remove it later for the size benefits.

windows-release/stage-publish-pymanager.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
workingDirectory: $(Build.BinariesDirectory)
7575
displayName: 'Upload ZIPs'
7676
env:
77-
INDEX_URL: '$(PyDotOrgUrlPrefix)python/index.windows.json'
78-
INDEX_FILE: '$(Build.ArtifactStagingDirectory)\index\index.windows.json'
77+
INDEX_URL: '$(PyDotOrgUrlPrefix)python/index-windows.json'
78+
INDEX_FILE: '$(Build.ArtifactStagingDirectory)\index\index-windows.json'
7979
MANIFEST_FILE: '$(Build.ArtifactStagingDirectory)\index\windows.json'
8080
UPLOAD_URL_PREFIX: $(PyDotOrgUrlPrefix)
8181
UPLOAD_PATH_PREFIX: $(PyDotOrgUploadPathPrefix)

0 commit comments

Comments
 (0)