Stop trying to publish crates that are unpublishable
This commit is contained in:
parent
b01990d480
commit
d2b21ce8d0
|
@ -38,6 +38,11 @@ for Cargo_toml in $Cargo_tomls; do
|
|||
|
||||
crate_name=$(grep -m 1 '^name = ' "$Cargo_toml" | cut -f 3 -d ' ' | tr -d \")
|
||||
|
||||
if grep -q "^publish = false" "$Cargo_toml"; then
|
||||
echo "$crate_name is is marked as unpublishable"
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ $(is_crate_version_uploaded "$crate_name" "$expectedCrateVersion") = True ]] ; then
|
||||
echo "${crate_name} version ${expectedCrateVersion} is already on crates.io"
|
||||
continue
|
||||
|
|
|
@ -9,6 +9,7 @@ repository = "https://github.com/solana-labs/solana"
|
|||
authors = ["Solana Maintainers <maintainers@solana.com>"]
|
||||
license = "Apache-2.0"
|
||||
edition = "2018"
|
||||
publish = false
|
||||
|
||||
[features]
|
||||
bpf_c = []
|
||||
|
|
Loading…
Reference in New Issue