Publish PyPI releases before crates.io artifacts (#16989)

## Summary

Closes #16987.

## Test Plan

We need a good way to dry-run this...

---------

Signed-off-by: William Woodruff <william@astral.sh>
This commit is contained in:
William Woodruff 2025-12-09 16:20:21 -05:00 committed by GitHub
parent 8d2c2e8cdf
commit 69910b4aab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,7 @@ jobs:
needs: needs:
- plan - plan
- host - host
- custom-publish-pypi # DIRTY: see #16989
if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }} if: ${{ !fromJson(needs.plan.outputs.val).announcement_is_prerelease || fromJson(needs.plan.outputs.val).publish_prereleases }}
uses: ./.github/workflows/publish-crates.yml uses: ./.github/workflows/publish-crates.yml
with: with:

View File

@ -3,6 +3,8 @@ members = ["cargo:."]
# Config for 'dist' # Config for 'dist'
[dist] [dist]
# See: #16989
allow-dirty = ["ci"]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax) # The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.2" cargo-dist-version = "0.30.2"
# Whether to consider the binaries in a package for distribution (defaults true) # Whether to consider the binaries in a package for distribution (defaults true)