Skip to content

Commit

Permalink
docs: add contributing branch and tag naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
xamfy committed Oct 12, 2022
1 parent 827891c commit 304b7a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/contributing/branch-naming-convention.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#### Branch naming convention

Following are the branch naming convention for the repository.

* `main` - The main branch where the source code of HEAD always reflects a production-ready state.
* `develop` - The main branch where the source code of HEAD always reflects a state with the latest delivered development changes for the next release.
* `feature/*` - Branch from `develop` and merge back into `develop`. Branch naming convention is `feature/<issue-number>-<issue-title>`. For example, `feature/1234-add-branch-naming-convention`.
* `release/*` - Branch from `develop` and merge back into `develop` and `main`. Branch naming convention is `release/<version-number>`. For example, `release/1.0.0`.
* `hotfix/*` - Branch from `main` and merge back into `develop` and `main`. Branch naming convention is `hotfix/<issue-number>-<issue-title>`. For example, `hotfix/1234-fix-branch-naming-convention`.
5 changes: 5 additions & 0 deletions docs/contributing/tag-naming-convention.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#### Tag naming convention

Following are the tag naming convention for the repository.

* `v*.*.*` - Tag naming convention is `v<version-number>`. For example, `v1.0.0`.

0 comments on commit 304b7a9

Please sign in to comment.