Skip to content

packagerConfig.appVersion is not working in makers #3523

Open
@zation

Description

@zation

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

7.3.0

Electron version

v29.0.1

Operating system

macOS

Last known working Electron Forge version

No response

Expected behavior

Makers use packagerConfig.appVersion as output path

Actual behavior

Makers use packageJSON.version instead of packagerConfig.appVersion as output path

Steps to reproduce

const forgeDefaultOutPath = path.resolve(makeDir, `${appName}-${packageJSON.version}-${targetArch}.dmg`);

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions