Browse Source

package uploader: escape dot in versions when using grep

emacs-27
Leonid Plyushch 6 years ago
parent
commit
16c0d197e2
  1. 3
      scripts/package_uploader.sh

3
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=$(

Loading…
Cancel
Save