openlibhums / janeway

A web-based platform for publishing journals, preprints, conference proceedings, and books
https://janeway.systems/
GNU Affero General Public License v3.0
168 stars 63 forks source link

Cannot run matching versions of a plugin against an RC version of Janeway #3842

Closed mauromsl closed 8 months ago

mauromsl commented 9 months ago

Describe the bug When running a Beta version of Janeway, plugins pinning a matching version patch will refuse to load and stop Janewy from running altogether.

Janeway version v1.5.1-RC3

To Reproduce Steps to reproduce the behavior:

  1. Install Janeway v1.5.1-RC-n
  2. Install a plugin that pins 1.5.1 as Janeway's minimum version
  3. Start Janeway
  4. See error

Expected behavior The semver comparison should ignore that the running version is a beta package and should only compare the major, minor and patch elements of the semver string

mauromsl commented 8 months ago

closed by 26001bb