Skip to content

Commit c0e2a3a

Browse files
committed
...
1 parent c7d199b commit c0e2a3a

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ Please review our [Security Policy](SECURITY.md) for reporting security vulnerab
6363
Before publishing releases, ensure the following are configured:
6464

6565
1. **NPM_TOKEN secret**: Add an npm automation token to the repository secrets
66-
- Go to Settings Secrets and variables Actions
66+
- Go to Settings Secrets and variables Actions
6767
- Create a new secret named `NPM_TOKEN`
6868
- Value: an npm automation token with publish permissions for `@modelcontextprotocol/ext-apps`
6969

7070
2. **`release` environment** (optional): Create a protected environment for additional safeguards
71-
- Go to Settings Environments New environment
71+
- Go to Settings Environments New environment
7272
- Name it `release`
7373
- Add required reviewers or other protection rules as needed
7474

@@ -79,6 +79,7 @@ Releases are published automatically via GitHub Actions when a GitHub Release is
7979
#### Steps to publish:
8080

8181
1. **Update the version** in `package.json`:
82+
8283
```bash
8384
# For a regular release
8485
npm version patch # or minor, or major
@@ -88,6 +89,7 @@ Releases are published automatically via GitHub Actions when a GitHub Release is
8889
```
8990

9091
2. **Commit the version bump** (if not done by `npm version`):
92+
9193
```bash
9294
git add package.json
9395
git commit -m "Bump version to X.Y.Z"
@@ -111,10 +113,10 @@ Releases are published automatically via GitHub Actions when a GitHub Release is
111113

112114
The workflow automatically determines the npm dist-tag:
113115

114-
| Version Pattern | npm Tag | Install Command |
115-
|-----------------|---------|-----------------|
116-
| `X.Y.Z` (from main) | `latest` | `npm install @modelcontextprotocol/ext-apps` |
117-
| `X.Y.Z-beta.N` | `beta` | `npm install @modelcontextprotocol/ext-apps@beta` |
116+
| Version Pattern | npm Tag | Install Command |
117+
| ----------------------------- | ------------- | -------------------------------------------------------- |
118+
| `X.Y.Z` (from main) | `latest` | `npm install @modelcontextprotocol/ext-apps` |
119+
| `X.Y.Z-beta.N` | `beta` | `npm install @modelcontextprotocol/ext-apps@beta` |
118120
| `X.Y.Z` (from release branch) | `release-X.Y` | `npm install @modelcontextprotocol/[email protected]` |
119121

120122
#### Maintenance Releases

package-lock.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)