Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhem committed Oct 30, 2019
1 parent 0f26b8f commit e5d14bb
Showing 1 changed file with 38 additions and 8 deletions.
46 changes: 38 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,48 @@ Command-line to bump version in a git repository

## Install

### Snap
### [Snap](https://snapcraft.io/)

[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/bump)

### Homebrew

```sh
$ snap install bump
```
brew install guilhem/homebrew-tap/bump

### [Homebrew](https://brew.sh/)

```sh
$ brew install guilhem/homebrew-tap/bump
```

## Usage

### Help

```sh
$ bump --help
Bump version

Usage:
bump [command]

Available Commands:
help Help about any command
major Bump major version
minor Bump minor
patch Bump patch

Flags:
--allow-dirty allow usage of bump on dirty git
--config string config file (default is $HOME/.bump.yaml)
--dry-run Don't touch git repository
-h, --help help for bump
--latest-tag use latest tag, prompt tags if false (default true)
-t, --toggle Help message for toggle
Use "bump [command] --help" for more information about a command.
```
### Major
```sh
Expand All @@ -32,12 +62,12 @@ $ git tag
### Minor
```sh
$ git tag
1.1.1
$ git tag
v1.1.1
$ bump minor
$ git tag
1.1.1
1.2.0
v1.1.1
v1.2.0
```
### Patch
Expand Down

0 comments on commit e5d14bb

Please sign in to comment.