mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2026-02-05 07:40:55 +01:00
Removed script for appending sqlite to Gemfile
This commit is contained in:
@@ -55,13 +55,6 @@ if [ "$CD_REF_NAME" != "master" ] && [[ "$CD_REF_NAME" != *"release"* ]] && ( [
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Include sqlite for production
|
|
||||||
sqliteCount="$(grep "gem 'sqlite3'" Gemfile | wc -l)"
|
|
||||||
|
|
||||||
if [ $sqliteCount -lt 2 ]; then
|
|
||||||
sed -i "/^group :production do/a\ \ gem 'sqlite3', '~> 1.3.6'" Gemfile
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set the version tag when it is a release or the commit sha was included.
|
# Set the version tag when it is a release or the commit sha was included.
|
||||||
if [[ "$CD_REF_NAME" == *"v"* ]]; then
|
if [[ "$CD_REF_NAME" == *"v"* ]]; then
|
||||||
export CD_BUILD_NUMBER=${CD_REF_NAME:1}
|
export CD_BUILD_NUMBER=${CD_REF_NAME:1}
|
||||||
|
|||||||
Reference in New Issue
Block a user