Skip to content

release: prepare 0.2.7 (no publish) — version bump, changelog, update-manifest name guard - #27

Draft
criptogus wants to merge 1 commit into
mainfrom
release/0.2.7-prep
Draft

criptogus wants to merge 1 commit into
mainfrom
release/0.2.7-prep

Conversation

@criptogus

Copy link
Copy Markdown
Owner

Draft. No tag, no release, no release draft. Publishing needs Gustavo's OK.

Contents

  • Version 0.2.6 → 0.2.7 in package.json and package-lock.json. Both desktop editions (KeepMind and Corp) inherit it. The Corp server (corp/lib.mjs CORP_VERSION 0.8.0) and the standalone MCP (tools/package.json 0.1.1) are versioned separately and stay unchanged.
  • CHANGELOG.md: [0.2.7] - unreleased. It takes the previous Unreleased items, adds the Fixed entries and keeps an empty [Unreleased].
  • Auto-update name fix included: 2869b3e (fix: keep Windows installer URLs consistent with published assets #16, "align Windows installer names with update manifests") is an ancestor of this branch, and both configs define an explicit artifactName (mac/nsis/linux). The 0.2.6 bug: latest.yml pointed to KeepMind-Setup-0.2.6.exe but the asset is KeepMind.Setup.0.2.6.exe. Corp had the same problem on mac (KeepMind-Corp-0.2.6-arm64.dmg vs KeepMind.Corp-0.2.6-arm64.dmg) and on Windows.
  • Regression guard:
    • tests/release-artifact-names.test.ts now covers both editions × mac (dmg, zip; arm64/x64/universal) × Windows (nsis). It expands the artifactName with app-builder-lib's real macro expander and fails if the name isn't GitHub-safe (computeSafeArtifactNameIfNeeded must return null) or if there's no explicit artifactName.
    • scripts/check-update-manifests.mjs <dist> (npm run check:update-manifests) runs after the build. For every latest*.yml it checks that each files[].url/path exists with exactly that name, with the same size and sha512, and a safe name. tests/check-update-manifests.test.ts covers a good case, the 0.2.6 bug reproduced, and wrong size or sha.
  • Smoke and test fixtures now use 0.2.7 (packaged-*-smoke.mjs, updater-download.test.ts).
  • No workflow was changed.

Local validation

  • vitest: 322/326. The 2 failures (derived-learnings, sync) are environmental: no Electron binary and no out/ locally. They fail the same way on main.
  • typecheck passed, and check-release-gates reports no errors.

Packaging validation without publishing: separate test branch test/0.2.7-package-dryrun-1411, with its own workflow package-dryrun-027.yml (prep + the Corp signing fix from #25). It runs electron-builder --publish never on macos-latest and windows-2022 for both editions, then check-update-manifests. Only latest*.yml and the file list are uploaded, not the installers.

Before publishing: merge #25 (Corp mac signature) and #26 (macOS 15 docs) if approved, set the date in the changelog, and decide whether Corp keeps publishing to criptogus/keepmind-corp.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant