-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade electron-forge to 7.5.0 #2526
base: main
Are you sure you want to change the base?
Conversation
… its not need anymore
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…upport for non-numeric appVersion in windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for digging into this issue and coming up with a solution for the version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this!
Description
electron-app
.The reason behind this changes is electron-forge/packer changed the way it validates semver for windows, therefore, the pattern we used before turns out invalid and returns an error when building the desktop client. More info about the issue within this GH ticket. Code that validates the semVer, within packager.
Due to this change, don't support non-numeric version, we add the function
returnSemVerFromReleaseVersion
to clean up the provided releaseVersion and bein compliance.Delete lodash patch for electron-app its not need anymore. The new version of electron-forge resolves lodash
4.17.21
, as per snyk scan, does not have security vulnerabilities.How to Test
returnSemVerFromReleaseVersion
with next string:1.2.3-beta.test.node.pty
=1.2.3
;0.2.3-beta.electron.forge
=0.2.3
;v2.0.3
=2.0.3
;v0.10.3
=0.10.3
;