Skip to content

Commit

Permalink
docs(contributing): tag, release commit's message templates copy edit
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Jul 29, 2024
1 parent ea56616 commit ee20937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ To cut a new release:
```
1. Commit `CHANGELOG.md`, `zsh-abbr.zsh`, `man/man1/abbr.1`, and `completions/_abbr`.
```shell
git commit -i CHANGELOG.md completions/_abbr man/man1/abbr.1 zsh-abbr.zsh -m "feat(release): bump to %ABBR_CURSOR%, update changelog"
git commit -i CHANGELOG.md completions/_abbr man/man1/abbr.1 zsh-abbr.zsh -m "feat(release): bump to v%ABBR_CURSOR%, update changelog"
```
1. Create a signed commit with the version number, prefixed with `v`.
```shell
git tag -s %ABBR_CURSOR% -m %ABBR_CURSOR%
git tag -s v%ABBR_CURSOR% -m v%ABBR_CURSOR%
```
1. If possible to fast-forward `next` to `main`, do so. If it isn't, rebase/merge/etc as needed to have `next` fork off the tip of `main`.
1. Fast-forward the major-version branch (e.g. branch `v5`) to `main`.
Expand Down

0 comments on commit ee20937

Please sign in to comment.