From 3c98748df318ff19e1e2bde7bf6afd385367f081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilson=20J=C3=BAnior?= Date: Mon, 25 Nov 2024 16:17:33 -0300 Subject: [PATCH] build_publish_to_packagecloud.sh: Update regex to ignore arm64 v8 builds --- misc/build_publish_to_packagecloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/build_publish_to_packagecloud.sh b/misc/build_publish_to_packagecloud.sh index 5cfc156f5..57d306f22 100755 --- a/misc/build_publish_to_packagecloud.sh +++ b/misc/build_publish_to_packagecloud.sh @@ -62,7 +62,7 @@ the client used by application developers to communicate with tsuru server." _build_all_packages(){ INPUT_DIRS=$(find dist -type d -name "tsuru_linux_*") for INPUT_DIR in $INPUT_DIRS; do - ARCH=$(echo "${INPUT_DIR}" | sed -e 's/.*tsuru_linux_//' -e 's/_v1//' ) + ARCH=$(echo "${INPUT_DIR}" | sed -e 's/.*tsuru_linux_//' -e 's/_v[0-9]\+//' ) PACKAGE_FILE_DEB="${PACKAGE_NAME}_${PACKAGE_VERSION}_${ARCH}.deb" PACKAGE_FILE_RPM="${PACKAGE_NAME}_${PACKAGE_VERSION}_${ARCH}.rpm"