Also include lock files when releasing

This commit is contained in:
Gwilym Kuiper 2021-06-20 23:48:46 +01:00
parent 6abf970d35
commit 7d3c776dcb

View file

@ -60,7 +60,7 @@ sed -i -e "s/^version = \".*\"/version = \"$VERSION\"/" "$DIRECTORY/Cargo.toml"
# Also update the lock file
(cd "$DIRECTORY" && cargo update)
git add "$DIRECTORY/Cargo.toml"
git add "$DIRECTORY/Cargo.toml" "$DIRECTORY/Cargo.lock"
if [ "$PROJECT" = "agb" ]; then
# also update the agb version in the template