Skip to content

Commit

Permalink
📝 : add CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Feb 13, 2020
1 parent 9d5e51d commit ba0bb7e
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# CONTRIBUTING

## Releasing a new version

### Creating a release branch

New versions are released using Git Flow release branches.

When releasing a new version, create a branch using the version number to be released.

```bash
git checkout -b release/1.3.0
```

### Bump the version number

Change the version number in the `pom.xml` file.

### Generating the CHANGELOG.md

We use `gitmoji-changelog` to generate the `CHANGELOG.md` file.

The `CHANGELOG.md` should be generated just after bumping the version number in the `pom.xml` file.

```bash
# install gitmoji-changelog
npm install -g gitmoji-changelog

# generate the changelog
gitmoji-changelog --preset maven
```

### Commit & PR

Commit those changes, and open a pull-request for the release-branch.

The commit message should be like `:bookmark: : release 1.3.0`.

### Github Release and Tag

When the PR is merged, create a Github Release, which points on the previous commit, and add the content of the `CHANGELOG.md` to the release.


0 comments on commit ba0bb7e

Please sign in to comment.