File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ jobs:
104
104
LAYER_VERSION=$(aws --region us-gov-east-1 lambda publish-layer-version \
105
105
--layer-name AWSLambdaPowertoolsTypeScriptV2 \
106
106
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
107
- --compatible-runtimes "$(jq -r '.CompatibleRuntimes[0] ' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
107
+ --compatible-runtimes "$(echo \"$( jq -r '.CompatibleRuntimes | join(" ") ' 'AWSLambdaPowertoolsTypeScriptV2.json')\" | sed -e "s/ /\" \"/g" )" \
108
108
--license-info "MIT-0" \
109
109
--description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
110
110
--query 'Version' \
@@ -161,7 +161,7 @@ jobs:
161
161
LAYER_VERSION=$(aws --region us-gov-west-1 lambda publish-layer-version \
162
162
--layer-name AWSLambdaPowertoolsTypeScriptV2 \
163
163
--zip-file fileb://./AWSLambdaPowertoolsTypeScriptV2.zip \
164
- --compatible-runtimes "$(jq -r '.CompatibleRuntimes[0] ' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
164
+ --compatible-runtimes "$(echo \"$( jq -r '.CompatibleRuntimes | join(" ") ' 'AWSLambdaPowertoolsTypeScriptV2.json')\" | sed -e "s/ /\" \"/g" )" \
165
165
--license-info "MIT-0" \
166
166
--description "$(jq -r '.Description' 'AWSLambdaPowertoolsTypeScriptV2.json')" \
167
167
--query 'Version' \
You can’t perform that action at this time.
0 commit comments