Releases
Releases are built by the Release workflow when a version tag is pushed. It makes unsigned installers for Windows, macOS and Linux and attaches them to a draft GitHub Release, which you check and publish.
Cut a release
Section titled “Cut a release”-
Bump the version with npm. It updates
package.jsonandpackage-lock.jsontogether, commits them and tags the commitv0.2.0:Terminal window npm version 0.2.0 -m "chore(release): %s"Don’t edit
versionby hand:package-lock.jsonwould fall behind. -
Push the commit and the tag:
Terminal window git push origin main v0.2.0 -
Wait for the Release workflow in the Actions tab. It:
- checks the tag matches
package.json(and stops if not), - runs the type check and unit tests,
- builds on Windows (
.exe), macOS (.dmgand.zipfor Apple silicon and Intel) and Linux (.AppImageand.deb), - checks each Mac build carries the right native module for its processor,
- uploads everything to a draft release for the tag.
- checks the tag matches
-
Open the draft on the Releases page and edit the notes so they list every change since the previous release, one line each with its short commit hash.
git log --oneline v0.1.0..v0.2.0lists them. The generated notes cover merged pull requests only and miss direct commits. Then publish the release. Users see these notes in the app’s update dialog, so a change missing from them is a change they cannot read about.
Before a release, regenerate the docs screenshots if screens changed.
If something fails
Section titled “If something fails”- Tag does not match: delete the tag (
git tag -d v0.2.0 && git push origin :refs/tags/v0.2.0), then bump again withnpm version. - One OS failed: the others still upload to the draft. Fix the cause, then re-run the failed job from the Actions tab.
Signing and updates
Section titled “Signing and updates”Builds are not code-signed, so Windows and macOS warn on first open; Install explains how to get past it. The app does not update itself. On launch it looks for a newer published release and, if there is one, shows a dialog with the release notes: Update opens the release page, Skip this update stays quiet until a newer one is published, and Remind me later asks again on the next launch. Drafts and pre-releases are never offered, so users see the dialog only once you publish.
Try the update dialog
Section titled “Try the update dialog”Run npm run dev:fake-update, or start any build with the --fake-update flag ("Azeroth World Editor.exe" --fake-update), or set the environment variable AWE_FAKE_UPDATE=1, and the app offers a made-up update, with sample notes, instead of asking GitHub. Skip this update stores nothing while it is set, so trying it never changes your real settings, and Update opens the real Releases page. To make an unpackaged build ask GitHub for real, set AWE_UPDATE_CHECK=1 instead.
Build locally
Section titled “Build locally”npm run dist builds installers for your own platform into dist/. For an unpacked build to try quickly, run npx electron-vite build && npx electron-builder --dir.
The app icon
Section titled “The app icon”Installers take their icon from build/icon.png. See Docs and screenshots to recapture it.

