Skip to content

Commit a8fed8d

Browse files
committed
Make updating lockfile more robust
1 parent 01eedb0 commit a8fed8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maintainer/make-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ done
7878

7979
echo ">>> Updating Cargo.lock ..."
8080

81-
echo ${crates[@]} | xargs printf " -p %s@${version}" | xargs cargo update
81+
for crate in "${crates[@]}"; do cargo pkgid path+file://$(cd ../"${crate}" && pwd); done | xargs printf " -p %s" | xargs cargo update
8282
git add Cargo.lock
8383

8484
echo ">>> Testing if 'pineappl' can be published ..."

0 commit comments

Comments
 (0)