Skip to content

Commit 849377d

Browse files
authored
[chore] [no ci] Update release instructions in CONTRIBUTING.md
1 parent 3ca0d96 commit 849377d

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

CONTRIBUTING.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Now force push to update your PR:
195195
git push --force-with-lease
196196
```
197197

198-
# Tag a New Version (Contributors Only)
198+
# Release a New Version (Contributors Only)
199199

200200
Always execute the tests before releasing a new version:
201201

@@ -215,7 +215,19 @@ git push
215215
git push --tags
216216
```
217217

218-
Travis will then publish the version on npm.
218+
GitHub CI/CD Actions will then publish the version on npm.
219+
220+
To create a new release:
221+
222+
```shell
223+
gh release create
224+
```
225+
226+
When asked about the **release notes**, pick *'Write using generated notes as template'*.
227+
228+
Finally, don't forget to **update the [milestones](https://github.com/api-platform/admin/milestones)**:
229+
- Close the milestone you just released
230+
- Create a new milestone for the next version
219231

220232
# License and Copyright Attribution
221233

0 commit comments

Comments
 (0)