fix(release): keep dated build metadata compatible with NSIS

This commit is contained in:
sim committed 2026-09-24 17:49:58 +08:00
1 parent d78b35981a
commit a473268557
8 files changed
+14 -10

No files matched your search

+6 -2
View File
@@ -33,11 +33,15 @@ Tauri host release tags (created by an admin only):
suffix for existing releases, but new releases use the `Beta.<N>` form. suffix for existing releases, but new releases use the `Beta.<N>` form.
A dated build may carry SemVer build metadata in the synchronized application A dated build may carry SemVer build metadata in the synchronized application
version, for example `2.0.0-Beta.2+20260924`. Keep its release tag in the existing version, for example `2.0.0-Beta.2+build.20260924`. Keep its release tag in the existing
`v2.0.0-Beta.2-tauri` format: released clients only recognize a numeric `Beta.N` `v2.0.0-Beta.2-tauri` format: released clients only recognize a numeric `Beta.N`
tag suffix. Include the complete application version in the release title and tag suffix. Include the complete application version in the release title and
updater manifests. Build metadata does not advance SemVer precedence; each new updater manifests. Build metadata does not advance SemVer precedence; each new
public Beta still increments `N`. public Beta still increments `N`. Use the `build.` prefix for date metadata:
Tauri 2.10.1 otherwise maps a numeric date to the fourth Windows product-version
component, which is a 16-bit field. The full version still appears in the app and
updater manifest; NSIS uses its supported numeric fallback for file metadata.
See [the pinned NSIS bundler](https://github.com/tauri-apps/tauri/blob/tauri-cli-v2.10.1/crates/tauri-bundler/src/bundle/windows/nsis/mod.rs#L149).
These tags publish the macOS, Windows, and Android Tauri hosts. Linux is not part of the Tauri matrix. Its independent host is built by `.github/workflows/release-linux-egui.yml`, which accepts an existing `release_tag` and writes `latest-linux-egui-x86_64.json`. This workflow has no automatic tag trigger; Linux publication requires its own product acceptance below. These tags publish the macOS, Windows, and Android Tauri hosts. Linux is not part of the Tauri matrix. Its independent host is built by `.github/workflows/release-linux-egui.yml`, which accepts an existing `release_tag` and writes `latest-linux-egui-x86_64.json`. This workflow has no automatic tag trigger; Linux publication requires its own product acceptance below.
+1 -1
View File
@@ -3275,7 +3275,7 @@ dependencies = [
[[package]] [[package]]
name = "openless-linux-egui" name = "openless-linux-egui"
version = "2.0.0-Beta.2+20260924" version = "2.0.0-Beta.2+build.20260924"
dependencies = [ dependencies = [
"axum", "axum",
"base64", "base64",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "openless-linux-egui" name = "openless-linux-egui"
version = "2.0.0-Beta.2+20260924" version = "2.0.0-Beta.2+build.20260924"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
description = "Linux host seam for the OpenLess egui frontend" description = "Linux host seam for the OpenLess egui frontend"
edition = "2021" edition = "2021"
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "openless-app", "name": "openless-app",
"version": "2.0.0-Beta.2+20260924", "version": "2.0.0-Beta.2+build.20260924",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "openless-app", "name": "openless-app",
"version": "2.0.0-Beta.2+20260924", "version": "2.0.0-Beta.2+build.20260924",
"dependencies": { "dependencies": {
"@base-ui/react": "^1.6.0", "@base-ui/react": "^1.6.0",
"@shadcn/react": "^0.2.1", "@shadcn/react": "^0.2.1",
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "openless-app", "name": "openless-app",
"private": true, "private": true,
"version": "2.0.0-Beta.2+20260924", "version": "2.0.0-Beta.2+build.20260924",
"type": "module", "type": "module",
"scripts": { "scripts": {
"pretest": "npm run build", "pretest": "npm run build",
+1 -1
View File
@@ -4257,7 +4257,7 @@ dependencies = [
[[package]] [[package]]
name = "openless" name = "openless"
version = "2.0.0-Beta.2+20260924" version = "2.0.0-Beta.2+build.20260924"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arboard", "arboard",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "openless" name = "openless"
version = "2.0.0-Beta.2+20260924" version = "2.0.0-Beta.2+build.20260924"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
description = "OpenLess — local voice input that types where your cursor is" description = "OpenLess — local voice input that types where your cursor is"
authors = ["OpenLess"] authors = ["OpenLess"]
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"$schema": "https://schema.tauri.app/config/2", "$schema": "https://schema.tauri.app/config/2",
"productName": "OpenLess", "productName": "OpenLess",
"version": "2.0.0-Beta.2+20260924", "version": "2.0.0-Beta.2+build.20260924",
"identifier": "com.openless.app", "identifier": "com.openless.app",
"build": { "build": {
"beforeDevCommand": "npm run dev", "beforeDevCommand": "npm run dev",