Skip to content

Commit

Permalink
Run +bundle install+ in commit task
Browse files Browse the repository at this point in the history
CI fails after releasing a new version, because the `rake release` tag
from rubygems does not update Gemfile.lock. This commit changes the
`rake commit` task to ensure Gemfile.lock is up to date before
commiting.
  • Loading branch information
chrisfrank committed Jan 15, 2019
1 parent 5dafd48 commit 46e9474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rack-component (0.4.2)
rack-component (0.5.0)

GEM
remote: https://rubygems.org/
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Expand Up @@ -16,6 +16,7 @@ task :doc do
end

task :commit do
sh 'bundle install'
sh 'bundle exec rake'
sh 'git add -A && git commit --verbose'
end
Expand Down

0 comments on commit 46e9474

Please sign in to comment.