Skip to content

Commit

Permalink
Merge branch 'master' into ptest
Browse files Browse the repository at this point in the history
  • Loading branch information
chaudharysaket committed Aug 8, 2024
2 parents a79e430 + e71d75b commit b1b1683
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/publish-layer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ publish-layer-x86
publish_docker_ecr $EXTENSION_DIST_ZIP_X86_64 extension x86_64

build-layer-arm64
publish-layer-arm64 $EXTENSION_DIST_ZIP_ARM64 extension arm64
publish-layer-arm64
publish_docker_ecr $EXTENSION_DIST_ZIP_ARM64 extension arm64
4 changes: 4 additions & 0 deletions libBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,10 @@ function publish_docker_ecr {
version_flag=$(echo "$runtime_name" | sed 's/[^0-9]//g')
language_flag=$(echo "$runtime_name" | sed 's/[0-9].*//')

if [[ ${runtime_name} =~ 'extension' ]]; then
version_flag=$EXTENSION_VERSION
language_flag="lambdaextension"
fi

# Remove 'dist/' prefix
if [[ $layer_archive == dist/* ]]; then
Expand Down

0 comments on commit b1b1683

Please sign in to comment.