File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -544,15 +544,6 @@ like the following is a useful way to check what has landed:
544
544
545
545
Also worth checking the [ next-release tag] ( https://github.com/rust-lang/rust-bindgen/pulls?q=is%3Apr+label%3Anext-release ) .
546
546
547
- Once that's done and the changelog is up-to-date, run ` doctoc ` on it.
548
-
549
- If needed, install it locally by running:
550
-
551
- ```
552
- $ npm install doctoc
553
- $ ./node_modules/doctoc/doctoc.js CHANGELOG.md
554
- ```
555
-
556
547
### Merge to ` main `
557
548
558
549
For regular releases, the changes above should end up in ` main ` before
@@ -561,14 +552,21 @@ important fix) you can skip this.
561
552
562
553
### Tag and publish
563
554
564
- Once you're in the right branch, do:
555
+ Once you're in ` main ` . Remember to install ` doctoc ` by running:
556
+ ```
557
+ npm install doctoc
558
+ ```
565
559
560
+ And then run:
566
561
```
567
562
cargo release [patch|minor] --no-publish --execute
568
563
```
569
564
570
565
This does the following:
571
566
567
+ - Bump the version.
568
+ - Turn the ` Unreleased ` section of the changelog into the section for the version being published.
569
+ - Update the table of contents of the changelog using ` doctoc ` .
572
570
- Tag (` git tag ` ) the HEAD commit
573
571
- Publish (` cargo publish ` ) bindgen and bindgen-cli
574
572
- Push (` git push ` ) to GitHub
You can’t perform that action at this time.
0 commit comments