You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the code of conduct that this project uses.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem description
Electron Forge doesn't have publish hooks e.g. prePublish and postPublish. I want these hooks so I can do a version check: I want to ensure in CI that the published version has been updated so that auto-updates work properly for users -- if the published app overwrites the previous version, the app won't auto-update.
Proposed solution
Introduce prePublish and postPublish hooks.
Alternatives considered
I can build around it in CI by just running the version verification command before I publish, but it'd be nice to define all the needed configuration in forge.config.ts, especially because the verification needs assets generated during the generateAssets hook.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Pre-flight checklist
Problem description
Electron Forge doesn't have publish hooks e.g. prePublish and postPublish. I want these hooks so I can do a version check: I want to ensure in CI that the published version has been updated so that auto-updates work properly for users -- if the published app overwrites the previous version, the app won't auto-update.
Proposed solution
Introduce prePublish and postPublish hooks.
Alternatives considered
I can build around it in CI by just running the version verification command before I publish, but it'd be nice to define all the needed configuration in forge.config.ts, especially because the verification needs assets generated during the
generateAssets
hook.Additional information
No response
The text was updated successfully, but these errors were encountered: