[261] Version 1.0.0-beta.1 und Buildnummer nach Datum (JJMMTT.N): scripts/build-number.cjs (Env DOSSIER_BUILD, sonst Datum + Commits des Tages, ohne Git .0), Vite-define, CLI --version, Über-Dialog/Statusleiste, macOS bundleVersion; TODO und Release-Doku

This commit is contained in:
Claude committed 2026-11-15 21:14:05 +00:00
1 parent b8b67538cf
commit 2b92b23d59
24 files changed
+177 -16

No files matched your search

+2 -1
View File
@@ -22,6 +22,7 @@ import type { LineCap, LineEnds, LineJoin } from "../core";
import type { ThemeMode } from "../theme/themeMode";
import { checkForUpdate, getUpdateSnoozeUntil, setUpdateSnooze } from "../update/checkForUpdate";
import { getRunningVersion } from "../update/version";
import { BUILD_INFO, formatBuildInfo } from "../update/buildInfo";
import { getBlenderPath, setBlenderPath } from "../state/blenderSettings";
import {
fetchVersionHistory,
@@ -330,7 +331,7 @@ export function SettingsDialog({
<section className="imp-section">
<div className="imp-section-title">{t("settings.section.update")}</div>
<div className="imp-note">
{t("about.version")} {runningVersion ?? APP_VERSION}
{t("about.version")} {formatBuildInfo({ ...BUILD_INFO, version: runningVersion ?? APP_VERSION }, t("about.build"))}
</div>
<button
type="button"
+2 -1
View File
@@ -8,6 +8,7 @@ import { getLanguage, t } from "../i18n";
import { isTauriRuntime } from "../native/projectFile";
import { APP_VERSION } from "./TopBar";
import { getRunningVersion } from "../update/version";
import { BUILD_INFO, formatBuildInfo } from "../update/buildInfo";
import {
getRecentProjects,
removeRecentProject,
@@ -94,7 +95,7 @@ export function StartScreen({
)}
</div>
<div className="start-footer">
{t("about.version")} {version ?? APP_VERSION}
{t("about.version")} {formatBuildInfo({ ...BUILD_INFO, version: version ?? APP_VERSION }, t("about.build"))}
</div>
</div>
);
+3
View File
@@ -15,6 +15,7 @@ import { useEffect, useRef, useState, memo } from "react";
import type { SnapSettings } from "../tools/types";
import { t } from "../i18n";
import { TraceControl } from "./TraceControl";
import { BUILD_INFO, formatBuildShort } from "../update/buildInfo";
export interface StatusBarProps {
/** [205] Pausfolie schaltbar (2D-Ansicht: Grundriss, Schnitt, Ansicht, Zeichnung). */
@@ -459,6 +460,8 @@ export const StatusBar = memo(function StatusBar({
<Field label={t("status.floor")} value={activeFloor} />
<Sep />
<Field label={t("status.layer")} value={activeLayer} />
<Sep />
<span className="sb-field" title={t("status.build.title")}><span className="sb-val" style={{ opacity: 0.55 }}>{formatBuildShort(BUILD_INFO, t("about.build"))}</span></span>
</div>
</footer>
);
+3 -2
View File
@@ -13,6 +13,7 @@ import { t } from "../i18n";
import { useModalFocus } from "./modalFocus";
import { checkForUpdate } from "../update/checkForUpdate";
import { getRunningVersion } from "../update/version";
import { BUILD_INFO, formatBuildInfo } from "../update/buildInfo";
import { memo, useEffect, useRef, useState } from "react";
import { useLiveScale, zoomPercentOf } from "../state/liveScaleStore";
import { createPortal } from "react-dom";
@@ -884,7 +885,7 @@ function applyLineHeight(doc: RichTextDoc, range: TextRange | null, lineHeight:
/** App-Version (spiegelt src-tauri/tauri.conf.json). Exportiert für appMenu.ts
* (native macOS-Menüleiste, „Über Dossier"), damit die Versionsnummer nur an
* dieser einen Stelle gepflegt wird. */
export const APP_VERSION = "0.1.0";
export const APP_VERSION = BUILD_INFO.version;
/**
* „Über"-Dialog (In-App, dunkel) — App-Marke, Version, Kurzbeschreibung und die
@@ -926,7 +927,7 @@ function AboutDialog({ onClose }: { onClose: () => void }) {
dossier<span className="brand-dot">.</span>
</div>
<div className="about-version">
{t("about.version")} {runningVersion ?? APP_VERSION}
{t("about.version")} {formatBuildInfo({ ...BUILD_INFO, version: runningVersion ?? APP_VERSION }, t("about.build"))}
</div>
<p className="about-desc">{t("about.desc")}</p>
<div className="about-meta">