Skip to content

Commit 14532fd

Browse files
nicknick
authored andcommitted
updated pipeline for past dists
1 parent 840696f commit 14532fd

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/python-publish.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,25 @@ jobs:
187187
with:
188188
python-version: "3.x"
189189

190+
# The checkout restores anything the repository itself has under dist/.
191+
# Two stale 1.1.1 artifacts were committed before /dist was gitignored,
192+
# and they landed in the same directory the fresh ones are downloaded
193+
# into — which is exactly how a release run failed with
194+
# "artifacts disagree on the version: ['1.1.1', '1.4.0']".
195+
# Verification must only ever see what this run built.
196+
- name: Start from an empty artifact directory
197+
run: rm -rf dist
198+
190199
- name: Download all artifacts
191200
uses: actions/download-artifact@v4
192201
with:
193202
pattern: cibw-*
194203
path: dist
195204
merge-multiple: true
196205

206+
- name: List what will be verified and published
207+
run: ls -l dist
208+
197209
- name: Check every expected wheel was built
198210
env:
199211
# Passed through the environment rather than interpolated into the
-161 KB
Binary file not shown.
-47.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)