History

Run checks before release commit and set desktop buildVersion

- Move install, lint, typecheck, and test steps ahead of release commit/tag in `release.yml` - Add `buildVersion` to staged desktop `package.json` and set it to the app version

Julius Marminge committed 8 months ago

Commit fa0205c1 parent 8a20bd72 files · +14 −12Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/build-desktop-artifact.ts+2−0
@@ -99,6 +99,7 @@ interface ResolvedBuildOptions { · 98 unmodified lines
99interface StagePackageJson {99interface StagePackageJson {
100 readonly name: string;100 readonly name: string;
101 readonly version: string;101 readonly version: string;
102 readonly buildVersion: string;
102 readonly private: true;103 readonly private: true;
103 readonly description: string;104 readonly description: string;
104 readonly author: string;105 readonly author: string;
@@ -488,6 +489,7 @@ const buildDesktopArtifact = Effect.fn(function* (options: ResolvedBuildOptions) · 383 unmodified lines
488 const stagePackageJson: StagePackageJson = {489 const stagePackageJson: StagePackageJson = {
489 name: "t3-code-desktop",490 name: "t3-code-desktop",
490 version: appVersion,491 version: appVersion,
492 buildVersion: appVersion,
491 private: true,493 private: true,
492 description: "T3 Code desktop build",494 description: "T3 Code desktop build",
493 author: "T3 Tools",495 author: "T3 Tools",