mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
build: automate release step fully (#5414)
* build: automate release step fully * exit process when error * Add npm scripts for release and prerelease * update docs with release setps
This commit is contained in:
parent
76a5bb060e
commit
11a3380d83
4 changed files with 81 additions and 29 deletions
|
@ -1341,3 +1341,23 @@ You can create a test release by posting the below comment in your pull request
|
|||
```
|
||||
|
||||
Once the version is released `@excalibot` will post a comment with the release version.
|
||||
|
||||
#### Creating a production release
|
||||
|
||||
To release the next stable version follow the below steps
|
||||
|
||||
```
|
||||
yarn prerelease version
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
The next step is to run the `release` script
|
||||
|
||||
```
|
||||
yarn release
|
||||
```
|
||||
|
||||
This will publish the package.
|
||||
|
||||
Right now there are two steps to create a production release but once this works fine these scripts will be combined and more automation will be done.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue