From 54153629c09f13eb915a2ba7204319610f3396df Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Tue, 14 Nov 2023 16:37:57 +0530 Subject: [PATCH] chore: update release scripts (#7282) * chore: update release scripts * update docs --- dev-docs/docs/@excalidraw/excalidraw/development.mdx | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-docs/docs/@excalidraw/excalidraw/development.mdx b/dev-docs/docs/@excalidraw/excalidraw/development.mdx index 066e0a24..2e73d573 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 035409bb..3b4a0b77 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" } }