Skip to content

Commit 3b9f958

Browse files
committed
docs: update release documentation
1 parent 7490ee7 commit 3b9f958

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,22 @@ If you include code from another project, please mention it in the Pull Request
205205
This section is for maintainers.
206206

207207
1. Update the JavaScript dependencies by running `./update-js.sh` (always check if it works in a browser)
208-
2. Update the `CHANGELOG.md` file (be sure to include Pull Request numbers when appropriate)
209-
3. Create a signed tag: `git tag -s vX.Y.Z -m "Version X.Y.Z"`
210-
4. Create a release using GitHub's UI and copy the changelog
211-
5. Create a new release of `api-platform/api-platform`
208+
2. Update the `CHANGELOG.md` file (be sure to include Pull Request numbers when appropriate) we use:
209+
210+
```bash
211+
bash generate-changelog.sh v4.1.11 v4.1.12 > CHANGELOG.new
212+
mv CHANGELOG.new CHANGELOG.md
213+
```
214+
4. Update `composer.json` `version` node and use
215+
216+
```bash
217+
composer blend --json-path=version
218+
```
219+
220+
This will update all the sub-components `composer.json`.
221+
222+
4. Create a signed tag: `git tag -s vX.Y.Z -m "Version X.Y.Z"`
223+
5. `git push upstream tag vX.Y.Z`
224+
6. `gh release create --generate-notes vX.Y.Z`
225+
7. Create a new release of `api-platform/api-platform`
226+

0 commit comments

Comments
 (0)