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 38502d8
Browse filesBrowse the repository at this point in the historyBrowse files
build(release): derive product and repo names instead of hardcoding them
A product rename (Strata -> Varve) is in progress in parallel. The release
tooling had "Strata" and "K-Arthur/Strata" baked into artifact filenames, SBOM
names, install hints and release URLs — none of which would have errored after
the rename. They would simply have kept producing `Strata-0.1.0-…` artifacts and
URLs built from the old slug: a wrong release that looks like a working one.
scripts/release/product.mjs derives all three from configuration the rename has
to touch anyway:
- productSlug() tauri.conf.json productName, minus a trailing " Desktop"
- repoSlug() GITHUB_REPOSITORY, else the git remote — which GitHub
updates automatically if the repository is renamed
- documentExtension() bundle.fileAssociations, so release notes describe the
format the build actually registers
Verified by flipping productName to "Varve Desktop" and re-running collection:
artifacts became Varve-0.1.0-linux-x86_64.{AppImage,deb,rpm} with no script
change. Restored afterwards.
This keeps the two workstreams out of each other's way: the rename agent edits
product configuration, and the release pipeline follows without either of us
touching the other's files.
Also adds `just release-*` recipes. `just` always runs from the justfile's
directory, so these work from anywhere in the tree — running
`node scripts/release/publish-model-assets.mjs` from apps/desktop/ fails with
MODULE_NOT_FOUND, which is a sharp edge worth removing rather than documenting.
just release-check bundled assets, catalog agreement, checksums
just release-version [TAG] assert every manifest agrees, optionally with a tag
just release-publish-models upload the on-demand AI models
just release-collect / -verify / -sbom / -website
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments