Browse Source

chore: update release scripts (#7282)

* chore: update release scripts

* update docs
pull/6797/merge
Aakansha Doshi 2 years ago committed by GitHub
parent
commit
54153629c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dev-docs/docs/@excalidraw/excalidraw/development.mdx
  2. 4
      package.json

4
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 @@ -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 @@ -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.

4
package.json

@ -128,8 +128,8 @@ @@ -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"
}
}

Loading…
Cancel
Save