- do not try java things when building for docs.rs

This commit is contained in:
Wim Pomp
2025-02-03 16:27:24 +01:00
parent 15eae99272
commit a3dfc075a8
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "ndbioimage"
version = "2025.1.1"
version = "2025.1.2"
edition = "2021"
authors = ["Wim Pomp <w.pomp@nki.nl>"]
license = "GPL-3.0-or-later"

View File

@@ -7,12 +7,12 @@ fn main() -> anyhow::Result<()> {
println!("cargo:rerun-if-changed=build.rs");
if std::env::var("DOCS_RS").is_ok() {
Ok(())
} else {
Ok(retry(
Exponential::from_millis(1000).map(delay::jitter).take(4),
deploy_java_artifacts,
)?)
} else {
Ok(())
}
}