-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMDCT-4279 - adds correct config for s3 bucket (#865)
Co-authored-by: Jon Holman <[email protected]>
- Loading branch information
1 parent
fff97ea
commit 2c56e89
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,10 @@ if ! which yarn > /dev/null ; then | |
fi | ||
|
||
# check serverless is installed globally. | ||
if ! which serverless > /dev/null ; then | ||
echo "installing serverless globally" | ||
yarn global add [email protected] | ||
if ! which serverless > /dev/null || ! serverless --version 2>&1 | grep -q " 4."; then | ||
echo "installing serverless v4 globally" | ||
yarn global add [email protected] | ||
export PATH="$PATH:$(yarn global bin)" | ||
fi | ||
|
||
# have to ensure that yarn install is up to date. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters