Update CONTRIBUTING.md

This commit is contained in:
Overtorment 2020-06-17 11:21:20 +01:00 committed by GitHub
parent 3abcf4ccdf
commit 5508b227a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
All commits should have one of the following prefixes: REL, FIX, ADD, TST, OPS, DOC. For example `"ADD: new feature"`.
Adding new feature is ADD, fixing a bug is FIX, something related to infrastructure is OPS etc.
Commits should be atomic: one commit - one feature, one commit - one bugfix etc.
@ -6,6 +7,9 @@ When you tag a new release, use the following example:
`git tag -m "REL v1.4.0: 157c9c2" v1.4.0`
You may get the commit hash from git log. Don't forget to push tags `git push origin --tags`
When tagging a new release, make sure to increment version in package.json and other files (we have a script for that: `./edit-version-number.sh`)
When tagging a new release, make sure to increment version in package.json and other files (we have a script for that: `./scripts/edit-version-number.sh`)
In the commit where you up version you can have the commit message as
`"REL vX.X.X: Summary message"`.
Do *not* add new dependencies. Bonus points if you manage to actually remove a dependency.