mirror of
https://github.com/italicsjenga/agb.git
synced 2024-10-16 23:21:48 +11:00
Also include lock files when releasing
This commit is contained in:
parent
6abf970d35
commit
7d3c776dcb
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue