publish-crate fixups
This commit is contained in:
parent
b8aff218e2
commit
d642125f68
|
@ -6,6 +6,7 @@ version = "0.16.0"
|
|||
repository = "https://github.com/solana-labs/solana"
|
||||
license = "Apache-2.0"
|
||||
homepage = "https://solana.com/"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
bincode = "1.1.4"
|
||||
|
|
|
@ -26,7 +26,7 @@ def get_packages():
|
|||
dependency_graph = dict()
|
||||
for pkg in metadata['packages']:
|
||||
manifest_path[pkg['name']] = pkg['manifest_path'];
|
||||
dependency_graph[pkg['name']] = [x['name'] for x in pkg['dependencies'] if x['name'].startswith('solana-')];
|
||||
dependency_graph[pkg['name']] = [x['name'] for x in pkg['dependencies'] if x['name'].startswith('solana')];
|
||||
|
||||
# Check for direct circular dependencies
|
||||
circular_dependencies = set()
|
||||
|
|
|
@ -21,7 +21,7 @@ cargoCommand="cargo publish --token $CRATES_IO_TOKEN"
|
|||
|
||||
Cargo_tomls=$(ci/order-crates-for-publishing.py)
|
||||
|
||||
for Cargo_toml in "${Cargo_tomls[@]}"; do
|
||||
for Cargo_toml in $Cargo_tomls; do
|
||||
echo "-- $Cargo_toml"
|
||||
grep -q "^version = \"$expectedCrateVersion\"$" "$Cargo_toml" || {
|
||||
echo "Error: $Cargo_toml version is not $expectedCrateVersion"
|
||||
|
|
|
@ -7,6 +7,7 @@ repository = "https://github.com/solana-labs/solana"
|
|||
license = "Apache-2.0"
|
||||
edition = "2018"
|
||||
homepage = "https://solana.com/"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
log = "0.4.2"
|
||||
|
|
Loading…
Reference in New Issue