Better old_tag

This commit is contained in:
Dessalines 2021-08-25 16:25:41 -04:00
parent 622f5a0bc5
commit a57f6821b0

View file

@ -21,7 +21,7 @@ fi
# Update crate versions for crates.io
pushd ../../
old_tag=$(cat "ansible/VERSION")
old_tag=$(head -3 Cargo.toml | tail -1 | cut -d'"' -f 2)
for crate in crates/*; do
pushd $crate
# update version of the crate itself (only first occurence)