From 16c0d197e245efe2be92ccc1498d218edf3ca922 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Wed, 20 Mar 2019 01:36:41 +0200 Subject: [PATCH] package uploader: escape dot in versions when using grep --- scripts/package_uploader.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/package_uploader.sh b/scripts/package_uploader.sh index 2dd963c54..e8eec0b93 100755 --- a/scripts/package_uploader.sh +++ b/scripts/package_uploader.sh @@ -261,7 +261,8 @@ delete_old_versions_from_package() { if [ "$http_status_code" = "200" ]; then package_latest_version=$( - echo "$curl_response" | cut -d'|' -f1 | jq -r .latest_version + echo "$curl_response" | cut -d'|' -f1 | jq -r .latest_version | \ + sed 's/\./\\./g' ) package_versions=$(