Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
perlun committed Feb 10, 2017
1 parent 1c8b902 commit cb83a54
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,33 @@ history of how it looked like before merging, including the individual commits).
If you are stuck on "traditional" merge mode in your projects, you can still use the tool. It's just that its output will be less
readable because of all the individual commits that are retained + one extra merge commit for every single PR.

## How to run
## Prerequisites

## How to install

```shell
# This downloads the rust toolchain. You can omit this step if you already have a suitable Rust version installed.
curl https://sh.rustup.rs -sSf | sh
$ cargo install changelog-rs
```

You will then have a `changelog-rs` in your path which you can run like this:

```shell
# If you want to generate a changelog entry for a particular version (from-revision and to-revision can be any git ref, i.e. a tag
# or a git commit SHA etc.
cargo run <repo> <from-revision> <to-revision>
$ changelog-rs <repo> <from-revision> <to-revision>

# If you want to generate changelog entries for all versions that are tagged with SemVer compliant tags.
$ changelog-rs <repo>
```

## How to build and run

```shell
# This downloads the rust toolchain. You can omit this step if you already have a suitable Rust version installed.
curl https://sh.rustup.rs -sSf | sh

# Same parameter modes as above can be used.
cargo run <repo> <from-revision> <to-revision>
cargo run <repo>
```

Expand Down

0 comments on commit cb83a54

Please sign in to comment.