Skip to content

Commit

Permalink
Update Now (#60)
Browse files Browse the repository at this point in the history
* Update now-build.sh
* Update now.json
  • Loading branch information
ArnaudLigny authored Dec 14, 2019
1 parent f82bbee commit dc18139
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions now-build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

echo 'Installing PHP...'
if [ -n $PHP_VERSION ]
if [ -z $PHP_VERSION ]
then
PHP_V=${PHP_VERSION//./}
else
PHP_V='72'
else
PHP_V=${PHP_VERSION//./}
fi
yum install php$PHP_V-cli

Expand All @@ -14,11 +14,11 @@ curl -sS https://getcomposer.org/installer | php
php composer.phar install

echo 'Downloading Cecil...'
if [ -n $CECIL_VERSION ]
if [ -z $CECIL_VERSION ]
then
curl -sSOL https://cecil.app/download/$CECIL_VERSION/cecil.phar
curl -LO https://cecil.app/cecil.phar
else
curl -sSOL https://cecil.app/cecil.phar
curl -LO https://cecil.app/download/$CECIL_VERSION/cecil.phar
fi
php cecil.phar --version

Expand Down
2 changes: 1 addition & 1 deletion now.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"build": {
"env": {
"PHP_VERSION": "7.3",
"CECIL_VERSION": "4.24.2",
"CECIL_VERSION": "4.28.2",
"CECIL_BASEURL": "/"
}
},
Expand Down

1 comment on commit dc18139

@vercel
Copy link

@vercel vercel bot commented on dc18139 Dec 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.