Skip to content

Commit 508a7ca

Browse files
committed
Fix explicit version requirement in dev-dependencies
This is used for doc-tests, and would use a cyclic dependency if an explicit version is specified. See also: rust-lang/cargo#4242 Also add some output to publishing CI.
1 parent 9a4c69a commit 508a7ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release-version.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,11 @@ jobs:
125125
run: |
126126
IFS=' ' read -r -a publishedCrates <<< "$GDRUST_CRATES"
127127
for crate in "${publishedCrates[@]}"; do
128+
echo "Publish $crate..."
128129
(cd "$crate" && cargo publish) || {
129130
printf "\nError: Failed to publish $crate\n"
130131
exit 2
131132
}
133+
echo "Wait..."
132134
sleep 40s
133135
done

gdnative-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ parking_lot = "0.12"
3030
serde = { version = "1", features = ["derive"], optional = true }
3131

3232
[dev-dependencies]
33-
gdnative = { path = "../gdnative", version = "=0.10.0-rc.0" } # for doc-tests
33+
gdnative = { path = "../gdnative" } # for doc-tests

0 commit comments

Comments
 (0)