소스 검색

chore: update release scripts (#7282)

* chore: update release scripts

* update docs
Aakansha Doshi 1 년 전
부모
커밋
54153629c0
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      dev-docs/docs/@excalidraw/excalidraw/development.mdx
  2. 2 2
      package.json

+ 2 - 2
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:
 To release the next stable version follow the below steps:
 
 
 ```bash
 ```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.
 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:
 The next step is to run the `release` script:
 
 
 ```bash
 ```bash
-yarn release
+yarn release:excalidraw
 ```
 ```
 
 
 This will publish the package.
 This will publish the package.

+ 2 - 2
package.json

@@ -128,8 +128,8 @@
     "test:coverage:watch": "vitest --coverage --watch",
     "test:coverage:watch": "vitest --coverage --watch",
     "test:ui": "yarn test --ui --coverage.enabled=true",
     "test:ui": "yarn test --ui --coverage.enabled=true",
     "autorelease": "node scripts/autorelease.js",
     "autorelease": "node scripts/autorelease.js",
-    "prerelease": "node scripts/prerelease.js",
+    "prerelease:excalidraw": "node scripts/prerelease.js",
     "build:preview": "yarn build && vite preview --port 5000",
     "build:preview": "yarn build && vite preview --port 5000",
-    "release": "node scripts/release.js"
+    "release:excalidraw": "node scripts/release.js"
   }
   }
 }
 }