mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Merge pull request #78 from gwilymk/also-commit-lockfiles
Also include lock files when releasing
This commit is contained in:
commit
d46f484641
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue