mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
docs: format releases.md
This commit is contained in:
@@ -13,13 +13,13 @@ Before releasing, ensure you have the latest version of the `master` branch.
|
||||
|
||||
And Read the semver specification to understand how to version your release. https://semver.org
|
||||
|
||||
### 1. Update the version in `package.json.`
|
||||
### 1. Update the version in `package.json`
|
||||
|
||||
```shell
|
||||
yarn workspaces foreach exec yarn version 0.5.4-canary.5
|
||||
```
|
||||
|
||||
### 2. Commit changes and push to `master.`
|
||||
### 2. Commit changes and push to `master`
|
||||
|
||||
```shel
|
||||
git add .
|
||||
@@ -30,11 +30,11 @@ git push origin master
|
||||
|
||||
### 3. Create a release action
|
||||
|
||||
Create a release action in the [AFFiNE repository](https://github.com/toeverything/AFFiNE/actions/workflows/release-desktop-app.yml).
|
||||
Create a release action in the [Release Desktop App](https://github.com/toeverything/AFFiNE/actions/workflows/release-desktop-app.yml).
|
||||
|
||||

|
||||
|
||||
Select the correct branch and fill out the form, then click `Run workflow.`
|
||||
Select the correct branch and fill out the form, then click `Run workflow`.
|
||||
|
||||
### 4. Publish the release
|
||||
|
||||
@@ -42,6 +42,6 @@ After the release action is completed, you can see the draft release on the [rel
|
||||
|
||||
You can edit the release note and publish it.
|
||||
|
||||
Remember that the release tag and title should be the same as the version in `package.json.`
|
||||
Remember that the release tag and title should be the same as the version in `package.json`.
|
||||
|
||||
And target the release to that commit you just pushed.
|
||||
|
||||
Reference in New Issue
Block a user