Preflight Checklist
Issue Details
- Electron Packager Version:
- The problem started with 18.2.0 (and 18.3.0, 18.3.1, 18.3.2))
- Electron Version:
- I've used 28, 29, 30 and hit the problem but don't think the Electron version matters here
- Operating System:
- Windows-specific (I'm using 11, our failing builds happen on Server 2019)
- Last Known Working Electron Packager version::
Expected Behavior
Prior to 18.2.0, a version string (i.e. in package.json "version") of the form "2024.07.0-hourly+56.pro14" was accepted by electron-packager during the packaging process on Windows. We've been using this format for several years. It continues working for Mac and Linux.
Actual Behavior
Starting with 18.2.0 (presumably due to this PR) an error occurs during packaging: Incorrectly formatted version string: "2024.07.0-hourly+56.pro14". Component "pro14" could not be parsed as an integer
To Reproduce
Gives the error Incorrectly formatted version string: "2024.07.0-hourly+56.pro14". Component "pro14" could not be parsed as an integer.
Edit package.json and change @electron/packager version to 18.1.3 and:
Succeeds.
Additional Information
NA
Preflight Checklist
Issue Details
Expected Behavior
Prior to 18.2.0, a version string (i.e. in package.json "version") of the form "2024.07.0-hourly+56.pro14" was accepted by electron-packager during the packaging process on Windows. We've been using this format for several years. It continues working for Mac and Linux.
Actual Behavior
Starting with 18.2.0 (presumably due to this PR) an error occurs during packaging:
Incorrectly formatted version string: "2024.07.0-hourly+56.pro14". Component "pro14" could not be parsed as an integerTo Reproduce
package.jsoncontains the troublesome version string, and pins electron-packager to 18.3.2Gives the error
Incorrectly formatted version string: "2024.07.0-hourly+56.pro14". Component "pro14" could not be parsed as an integer.Edit package.json and change @electron/packager version to 18.1.3 and:
Succeeds.
Additional Information
NA