Skip to content

Commit 97b1ba9

Browse files
committed
Include Gemfile.lock update in bin/release
1 parent 7409718 commit 97b1ba9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/release

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ fi
6060
echo "Updating version..."
6161
sed -i "s/VERSION = \"$current_version\"/VERSION = \"$new_version\"/" "$VERSION_FILE"
6262

63+
echo "Updating Gemfile.lock..."
64+
bundle install --quiet
65+
6366
echo "Building gem..."
6467
gem build "$GEMSPEC"
6568

@@ -75,7 +78,7 @@ echo "Cleaning up gem file..."
7578
rm "$gem_file"
7679

7780
echo "Committing version bump..."
78-
git add "$VERSION_FILE"
81+
git add "$VERSION_FILE" Gemfile.lock
7982
git commit -m "Bump version to $new_version"
8083

8184
echo "Creating GitHub release..."

0 commit comments

Comments
 (0)