Commit 94f73a3
authored
fix(package): Don't verify registry for --list (#16341)
### What does this PR try to resolve?
Since `--list` is doing nothing with registries, imo, it shouldn't error
if
`CARGO_REGISTRY_DEFAULT` is not in `package.publish`.
This also affects `--registry` and `--index` but that should be fine.
Fixes crate-ci/cargo-release#921
### How to test and review this PR?File tree
2 files changed
+25
-16
lines changed- src/cargo/ops/cargo_package
- tests/testsuite
2 files changed
+25
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
285 | 282 | | |
286 | | - | |
287 | | - | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
288 | 287 | | |
289 | 288 | | |
290 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6791 | 6791 | | |
6792 | 6792 | | |
6793 | 6793 | | |
| 6794 | + | |
| 6795 | + | |
| 6796 | + | |
| 6797 | + | |
| 6798 | + | |
| 6799 | + | |
| 6800 | + | |
| 6801 | + | |
| 6802 | + | |
| 6803 | + | |
6794 | 6804 | | |
6795 | 6805 | | |
6796 | 6806 | | |
| |||
0 commit comments