mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Small tweaks to scripts that update gems
The `update_gem_in_all_appraisals` script can do two things: * Update the given gem located in the Gemfile * Update the given gem located in Appraisals Currently, if the first step fails, then the second step does not run. With this commit, both will run regardless of their status.
This commit is contained in:
parent
97a627c273
commit
2c26cc3ebb
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ gem="$1"
|
|||
|
||||
update-gem-for-version() {
|
||||
local version="$1"
|
||||
(export RBENV_VERSION=$version; bundle update "$gem" && bundle exec appraisal update "$gem")
|
||||
(export RBENV_VERSION=$version; bundle update "$gem"; bundle exec appraisal update "$gem")
|
||||
}
|
||||
|
||||
for version in $SUPPORTED_VERSIONS; do
|
||||
|
|
|
@ -4,7 +4,7 @@ SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
|||
|
||||
update-gems-for-version() {
|
||||
local version="$1"
|
||||
(export RBENV_VERSION=$version; bundle update "${@:2}" && bundle exec appraisal update "${@:2}")
|
||||
(export RBENV_VERSION=$version; bundle update "${@:2}"; bundle exec appraisal update "${@:2}")
|
||||
}
|
||||
|
||||
for version in $SUPPORTED_VERSIONS; do
|
||||
|
|
Loading…
Reference in a new issue