bin/prep-release in codeclimate-0.49.0 vs bin/prep-release in codeclimate-0.50.0
- old
+ new
@@ -14,11 +14,11 @@
version=$1
old_version=$(< VERSION)
branch="release-$version"
-if ! bundle exec rake; then
+if ! make test; then
echo "test failure, not releasing" >&2
exit 1
fi
printf "RELEASE %s => %s\n" "$old_version" "$version"
@@ -26,10 +26,10 @@
git pull
git checkout -b "$branch"
printf "%s\n" "$version" > VERSION
-bundle
+make Gemfile.lock
git add VERSION Gemfile.lock
git commit -m "Release v$version"
git push origin "$branch"
branch_head=$(git rev-parse --short $branch)