Releasing Overview
This repository has two release tracks:
- npm packages
- applications
The npm package track includes the core packages under packages/* and any publishable workspace package under apps/* that ships through npm, such as @modeldriveprotocol/browser-simple-mdp-client.
The applications track currently includes:
- Chrome extension zip
- VSCode extension VSIX
Each path is triggered by a different tag pattern and has its own validation rules.
Before creating a release tag
- Make sure the relevant CI is green.
- Verify the version in the app or package metadata is already updated.
- Check required secrets or repository variables are configured.
- Create the tag only from the commit you actually want to publish.
Release guides
Shared workflow building blocks
Release workflows reuse two narrow composite actions:
.github/actions/setup-workspace/action.ymlsets uppnpm, Node.js, and installs dependencies after checkout.github/actions/build-workspace-package-deps/action.ymlbuilds@modeldriveprotocol/protocoland@modeldriveprotocol/clientbefore extension bundling
These shared actions only cover repeated setup and shared package build steps. Tag rules, version validation, artifact naming, and publish steps remain in the workflow that owns the release.