Skip to content

Commit 687af49

Browse files
authored
Merge pull request #56 from veghdev/contr
CONTRIBUTING.md: move Version number into Changes
2 parents 284fa81 + 3d63a89 commit 687af49

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,27 +44,19 @@ npm run eslint
4444

4545
write-npmstat is distributed on npmjs.
4646

47-
## Version number
47+
## Changes
4848

49-
If your changes are ready to release, you should increase the version number in
50-
`package.json`. The version bump should be in a separated commit.
49+
If your changes are ready to release, you should increase the version number in `package.json`. The version bump should be in a separated commit
50+
and the commit message should be in the following format:
5151

52-
```sh
53-
git commit -m 'package.json: version x.y.z' package.json
5452
```
55-
56-
Tag this commit:
57-
58-
```sh
59-
git tag x.y.z
53+
'package.json: version x.y.z'
6054
```
6155

62-
## Changes
63-
6456
New release should be created on [github](https://github.com/veghdev/write-npmstat/releases/new).
6557

6658
**Note:** Release notes are auto-generated from closed pull requests.
6759

6860
## Package
6961

70-
Publishing a new release will automatically trigger the [Release](https://github.com/veghdev/write-npmstat/blob/main/.github/workflows/release.yml) workflow which builds and uploads the write-npmstat package to [npmjs](https://www.npmjs.com/package/write-npmstat/).
62+
Publishing a new release will automatically trigger the [Release](https://github.com/veghdev/write-npmstat/blob/main/.github/workflows/release.yml) workflow which builds and uploads the write-npmstat package to [npmjs](https://www.npmjs.com/package/write-npmstat/).

0 commit comments

Comments
 (0)