Skip to content

Commit

Permalink
fixup! fixup! note about which versions to bump when renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Dec 25, 2024
1 parent 1d148af commit 4c3f934
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,10 @@ package's _current_ directory, so if you move a package to a different directory
may lose old commit info if you're not careful.

On the commit immediately _before_ you move the package(s) and run the following:
(This command is provided by `cargo install cargo-smart-release`; don't use any other `cargo changelog` command)
```
cargo changelog --write <crate_to_be_moved> <other_crate_to_be_moved> ...
```
Note that this may [error if your git is in a 'detached HEAD' state](https://github.com/Byron/cargo-smart-release/issues/34),
so run `git checkout -b new-branch-name` to fix this.
(This command is provided by `cargo install cargo-smart-release`; don't use any other `cargo changelog` command)

Next (even if there are no changes), go through the modified `CHANGELOG.md` files and add a prefix
to **all** (not just the new) the `Commit Statistics` and `Commit Details` headers, for example:
Expand Down

0 comments on commit 4c3f934

Please sign in to comment.