composer-wp-pro-plugins icon indicating copy to clipboard operation
composer-wp-pro-plugins copied to clipboard

Polylang: Fail if we download the incorrect version

Open jarstelfox opened this issue 2 years ago • 0 comments

We are seeing the api give us the most recent version, but this version broke our website.

We spent a lot of time running down the fact that the version we requested was not being downloaded.

https://polylang.pro?edd_action=get_version&license=REDACTED&item_name=Polylang+Pro&url=REDACTED&version=3.1.4

returns

{ "new_version": "3.2.3", "stable_version": "3.2.3", "name": "Polylang Pro", "slug": "polylang-pro", ... }

It even says it is installing 3.1.4 during the composer install step.

I would have liked it to fail loudly when this occurs.

jarstelfox avatar May 20 '22 17:05 jarstelfox