amphora icon indicating copy to clipboard operation
amphora copied to clipboard

Upgrade Versioning Error

Open victhevenot opened this issue 6 years ago • 1 comments
trafficstars

If a component has upgrades all the way from 1.0, 1.1, 1.2....1.9 and then tries to add 1.10, the ugprade isn't run because it treats 1.10 and 1.1 the same. This happened in prod with the sites ad component for updating a flex size on an in article ad.

victhevenot avatar Jan 11 '19 15:01 victhevenot

Would it be overkill to import and use https://www.npmjs.com/package/semver for the comparison?

elgreg avatar Jan 11 '19 16:01 elgreg