Commit 027aa86
Yanjun
fix(v0.8.5): pin PyPI publisher packages-dir to .dist/ + sync_mirrors path
The v0.8.4 root-cleanup hid the build output dir to .dist/ and
moved scripts/ → .scripts/, but two CI/release artifacts still
pointed at the legacy paths:
1. .github/workflows/release.yml — pypa/gh-action-pypi-publish
defaults to dist/ for the package upload directory. Without
an explicit packages-dir, the v0.8.5 release ran 'python -m
build --outdir .dist' successfully but the publish step
reported "no Python distribution packages to publish in
the directory 'dist/'" and failed. Add packages-dir: .dist/.
2. .scripts/build_plugin.py — the defense-in-depth mirror-sync
step on line 129 referenced repo_root/'scripts'/sync_plugin_mirrors.py
which no longer exists (relocated to .scripts/). The build still
succeeded because the check is non-fatal (a missing script just
skips), but the .zip bundle wouldn't have benefited from the
pre-flight mirror parity check.
Tag v0.8.5 was deleted from origin so this commit can be the
new tag target — re-tag immediately after this lands.1 parent 72286ba commit 027aa86
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
0 commit comments