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
{{ message }}
Repository navigation
Commit b024ad4
Browse filesBrowse the repository at this point in the historyBrowse files
# Public clone (no sync source): download prebuilt sync.exe from the GitHub Release
23
26
.\build\main.ps1 -DownloadSync
@@ -29,6 +32,8 @@ Requires: Go (see `cli/src/go.mod`), [qgo](https://github.com/quikdev/go), Zig (
29
32
30
33
| Flag | Purpose |
31
34
|------|---------|
35
+
|`-Hotfix`| Same as GHA `prerelease`: any stamp → `{manifest}-{stamp}` (e.g. `beta.1` → `2.0.1-beta.1`). Bare digit `1` → `-hotfix.1` (WiX/Inno revision). Temp-stamps `cli/src/manifest.json` for qgo embed, sets process `NVM_CLI_VERSION`, restores both after build (git stays clean). Mutually exclusive with `-Version`. |
36
+
|`-Version`| Full special version override (e.g. `2.0.1-beta.1`). Same temp stamp/restore as `-Hotfix`. Mutually exclusive with `-Hotfix`. |
32
37
|`-DownloadSync`| Fetch `nvm---sync.exe` from GitHub Releases instead of compiling sync |
33
38
|`-SyncReleaseTag`| Override release tag (default: `v` + `cli/src/manifest.json` version) |
|`override_existing_release`| false | Replace setup.exe **and** sync.exe on existing tag |
54
-
|`hotfix`|_(empty)_| Optional stamp: `1`or `hotfix.1`→ `{manifest}-hotfix.N` without committing `cli/src/manifest.json`|
59
+
|`prerelease`|_(empty)_| Optional stamp: `beta.1`→ `{manifest}-beta.1`; bare `1`→ `{manifest}-hotfix.1`. Leave empty for manifest version.|
55
60
56
61
GitHub Release assets per architecture:
57
62
58
63
-`nvm---setup.exe` — Inno Setup installer
59
64
-`nvm---sync.exe` — prebuilt sync for `-DownloadSync`
60
65
61
-
Tag = `v` + effective version (`cli/src/manifest.json` version, plus optional `hotfix` stamp). Runner patches manifest before CLI/Inno build so embeds and `AppVersion` match. Inno `VersionInfoVersion`already maps `-hotfix.N` → fourth numeric field (`2.0.1-hotfix.1` → `2.0.1.1`). Hotfix stamps mark the GitHub Release as**`--prerelease`**.
66
+
Tag = `v` + effective version (`cli/src/manifest.json` version, plus optional `prerelease` stamp). Runner patches manifest before CLI/Inno build so embeds and `AppVersion` match. Inno `VersionInfoVersion` maps `-hotfix.N` → fourth numeric field (`2.0.1-hotfix.1` → `2.0.1.1`). Any stamped `x.y.z-*` release is marked GitHub**`--prerelease`**.
0 commit comments