Skip to content

Commit aa6258a

Browse files
committed
fix bump_and_publish.sh
1 parent e321dbc commit aa6258a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@ cc = "1.2.20"
4141
#seq_geom_parser = { git = "https://github.com/COMBINE-lab/seq_geom_parser", branch = "dev", version = "0.3.0" }
4242
#seq_geom_xform = { git = "https://github.com/COMBINE-lab/seq_geom_xform", branch = "dev", version = "0.4.0" }
4343
#roers = { git = "https://github.com/COMBINE-lab/roers", branch = "main", version = "0.4.0" }
44+
# af-anndata = { version = "0.3.3", git = "https://github.com/COMBINE-lab/af-anndata" }
4445

4546
seq_geom_parser = { version = "0.3.0" }
4647
seq_geom_xform = { version = "0.4.0" }
4748
roers = { version = "0.4.0" }
49+
af-anndata = { version = "0.3.3" }
4850

4951
anyhow = "^1.0"
5052
clap = { version = "4.5.37", features = [
@@ -91,7 +93,6 @@ regex = { version = "1.11.1", default-features = false, features = [
9193
] }
9294
tempfile = "3.19.1"
9395
ureq = { version = "3.0.11", features = ["json"] }
94-
af-anndata = { version = "0.3.3", git = "https://github.com/COMBINE-lab/af-anndata" }
9596
file-requirements = "0.1.0"
9697

9798
[profile.release]

bump_and_publish.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,10 @@ echo
319319
echo "Preflight checks before changing version"
320320
cargo check -q
321321
if [[ "$PUBLISH" == true ]]; then
322-
mapfile -t git_dependencies < <(collect_git_dependencies)
322+
git_dependencies=()
323+
while IFS= read -r dependency; do
324+
git_dependencies+=("$dependency")
325+
done < <(collect_git_dependencies)
323326
if ((${#git_dependencies[@]} > 0)); then
324327
die "crates.io publish is currently blocked by git dependencies in $ROOT_CARGO: ${git_dependencies[*]}"
325328
fi

0 commit comments

Comments
 (0)