publish-crate fixups

This commit is contained in:
Michael Vines 2019-05-30 13:44:27 -07:00
parent b8aff218e2
commit d642125f68
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
4 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ version = "0.16.0"
repository = "https://github.com/solana-labs/solana" repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0" license = "Apache-2.0"
homepage = "https://solana.com/" homepage = "https://solana.com/"
publish = false
[dependencies] [dependencies]
bincode = "1.1.4" bincode = "1.1.4"

View File

@ -26,7 +26,7 @@ def get_packages():
dependency_graph = dict() dependency_graph = dict()
for pkg in metadata['packages']: for pkg in metadata['packages']:
manifest_path[pkg['name']] = pkg['manifest_path']; 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 # Check for direct circular dependencies
circular_dependencies = set() circular_dependencies = set()

View File

@ -21,7 +21,7 @@ cargoCommand="cargo publish --token $CRATES_IO_TOKEN"
Cargo_tomls=$(ci/order-crates-for-publishing.py) 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" echo "-- $Cargo_toml"
grep -q "^version = \"$expectedCrateVersion\"$" "$Cargo_toml" || { grep -q "^version = \"$expectedCrateVersion\"$" "$Cargo_toml" || {
echo "Error: $Cargo_toml version is not $expectedCrateVersion" echo "Error: $Cargo_toml version is not $expectedCrateVersion"

View File

@ -7,6 +7,7 @@ repository = "https://github.com/solana-labs/solana"
license = "Apache-2.0" license = "Apache-2.0"
edition = "2018" edition = "2018"
homepage = "https://solana.com/" homepage = "https://solana.com/"
publish = false
[dependencies] [dependencies]
log = "0.4.2" log = "0.4.2"