Skip to content

Commit 9e62357

Browse files
committed
Correct replace.
1 parent 38c126f commit 9e62357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
174174
script:
175175
- STAGE={{ $environment_name }} PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./ci/publish_layers.sh | tee publish.log
176176
# Extract the arn from the publish log to be used as envvar in e2e tests
177-
- echo "PYTHON_{{ $runtime.python_version | replace "." "" }}_VERSION=$(grep -oP 'Published arn \K\.*' publish.log)" > layer_version
177+
- echo "PYTHON_{{ $runtime.python_version | strings.ReplaceAll "." "" }}_VERSION=$(grep -oP 'Published arn \K\.*' publish.log)" > layer_version
178178

179179
{{- end }}
180180

0 commit comments

Comments
 (0)