Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

chore: update release scripts (#7282)

Aakansha Doshi54153629c09f
diff --git a/dev-docs/docs/@excalidraw/excalidraw/development.mdx b/dev-docs/docs/@excalidraw/excalidraw/development.mdx
index 066e0a24e4..2e73d57310 100644
--- a/dev-docs/docs/@excalidraw/excalidraw/development.mdx
+++ b/dev-docs/docs/@excalidraw/excalidraw/development.mdx
@@ -43,7 +43,7 @@ Once the version is released `@excalibot` will post a comment with the release v
To release the next stable version follow the below steps:
```bash
-yarn prerelease version
+yarn prerelease:excalidraw
```
You need to pass the `version` for which you want to create the release. This will make the changes needed before making the release like updating `package.json`, `changelog` and more.
@@ -51,7 +51,7 @@ You need to pass the `version` for which you want to create the release. This wi
The next step is to run the `release` script:
```bash
-yarn release
+yarn release:excalidraw
```
This will publish the package.
diff --git a/package.json b/package.json
index 035409bbf9..3b4a0b7760 100644
--- a/package.json
+++ b/package.json
@@ -128,8 +128,8 @@
"test:coverage:watch": "vitest --coverage --watch",
"test:ui": "yarn test --ui --coverage.enabled=true",
"autorelease": "node scripts/autorelease.js",
- "prerelease": "node scripts/prerelease.js",
+ "prerelease:excalidraw": "node scripts/prerelease.js",
"build:preview": "yarn build && vite preview --port 5000",
- "release": "node scripts/release.js"
+ "release:excalidraw": "node scripts/release.js"
}
}