Skip to content

Commit 716f385

Browse files
committed
chore(amazonlinux2) place amazonlinux2 assets in a separate directory
1 parent d25c81d commit 716f385

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

fpm-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ elif [ "$RESTY_IMAGE_BASE" == "rhel" ]; then
2323
elif [ "$RESTY_IMAGE_BASE" == "amazonlinux" ]; then
2424
PACKAGE_TYPE="rpm"
2525
FPM_PARAMS="-d pcre -d perl -d perl-Time-HiRes"
26-
OUTPUT_FILE_SUFFIX=".aws${RESTY_IMAGE_TAG}"
26+
OUTPUT_FILE_SUFFIX=".aws"
2727
fi
2828
if [ "$RESTY_IMAGE_TAG" == "bullseye" ]; then
2929
FPM_PARAMS="-d libpcre3 -d perl -d zlib1g-dev"

release-kong.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ elif [ "$RESTY_IMAGE_BASE" == "src" ]; then
6464
OUTPUT_FILE_SUFFIX=".tar.gz"
6565
curl -L https://github.com/Kong/kong/archive/$KONG_VERSION.tar.gz -o output/$KONG_PACKAGE_NAME-$KONG_VERSION$OUTPUT_FILE_SUFFIX
6666
fi
67+
if [ "$RESTY_IMAGE_BASE" == "amazonlinux" ] && [ "$RESTY_IMAGE_TAG" == "2" ]; then
68+
BINTRAY_DIRECTORY="amazonlinux/amazonlinux2"
69+
fi
6770

6871
if [ "$RELEASE_DOCKER_ONLY" == "true" ]; then
6972
exit 0

0 commit comments

Comments
 (0)