You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,56 @@ If you create a feature request, use the dedicated **Feature request** issue tem
56
56
57
57
If you have a bug to report, reproduce it in an online code editor. For example, use [CodeSandbox](https://codesandbox.io/). Attach the link to the reproduced bug to your issue. Log the bug using the **Bug report** template.
58
58
59
+
## Releasing
60
+
61
+
Follow these steps to create a changelog for the new release.
62
+
63
+
1. Generate the changelog using the [`lerna-changelog`](https://github.com/lerna/lerna-changelog) tool. Run the following command to generate the changelog content for PRs merged after creating the last Git tag:
64
+
65
+
```
66
+
npm run changelog
67
+
```
68
+
69
+
You can also generate the changelog content corresponding to PRs merged in-between particular Git tags:
70
+
71
+
```
72
+
npm run changelog -- --from=v0.1.1 --to=v0.1.2
73
+
```
74
+
75
+
The `lerna-changelog` tool detects changes based on PR labels and maps them to sections as per the configuration in the `package.json` file.
76
+
77
+
```
78
+
"changelog": {
79
+
"labels": {
80
+
"breaking": ":boom: Breaking Changes",
81
+
"enhancement": ":rocket: Enhancements",
82
+
"bug": ":bug: Fixed",
83
+
"area/library": ":zap: Library",
84
+
"area/playground": ":video_game: Playground app",
85
+
"area/documentation": ":memo: Documentation"
86
+
}
87
+
...
88
+
}
89
+
```
90
+
91
+
2. The generated code should look as follows:
92
+
```
93
+
## Unreleased (2018-12-13)
94
+
95
+
#### :bug: Fixed
96
+
*[#24](https://github.com/asyncapi/asyncapi-react/pull/24) Downgrade required peer dependency version ([@pkosiec](https://github.com/pkosiec))
97
+
98
+
#### :zap: Library
99
+
*[#24](https://github.com/asyncapi/asyncapi-react/pull/24) Downgrade required peer dependency version ([@pkosiec](https://github.com/pkosiec))
100
+
101
+
#### Committers: 1
102
+
- Paweł Kosiec ([@pkosiec](https://github.com/pkosiec))
103
+
```
104
+
105
+
3. Go to GitHub to [create a new release](https://github.com/asyncapi/asyncapi-react/releases) and paste the generated code as a description. Do not include the **Committers** section.
106
+
107
+
Make sure you change `## Unreleased ({date})` or `## {tag} ({date})` to `## Released ({date})`.
0 commit comments