GRN2-149: Updated gems (#543)

* Updated gems
This commit is contained in:
Jesus Federico
2019-05-22 12:34:42 -04:00
committed by GitHub
parent be84e7e4ed
commit 1fbd89d2fc
3 changed files with 134 additions and 150 deletions

View File

@ -59,7 +59,7 @@ if [ "$CD_REF_NAME" != "master" ] && [[ "$CD_REF_NAME" != *"release"* ]] && ( [
fi
# Include sqlite for production
sed -i "/^group :production do/a\ \ gem 'sqlite3', '~> 1.3'" Gemfile
sed -i "/^group :production do/a\ \ gem 'sqlite3', '~> 1.3.6'" Gemfile
# Set the version tag when it is a release or the commit sha was included.
if [[ "$CD_REF_NAME" == *"release"* ]]; then
sed -i "s/VERSION =.*/VERSION = \"${CD_REF_NAME:8}\"/g" config/initializers/version.rb