Merge pull request #78 from gwilymk/also-commit-lockfiles

Also include lock files when releasing
This commit is contained in:
Corwin 2021-06-20 23:54:15 +01:00 committed by GitHub
commit d46f484641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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