Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 7, 2023
1 parent cd9efb3 commit 7ff05bf
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Based on the log between the latest tag and `HEAD`, prints the next tag.

> aliases: `svu next` and `svu n`
```sh
```bash
$ svu
v1.3.0
```
Expand All @@ -39,7 +39,7 @@ Prints the current tag with no changes.
**Examples:**

```sh
```bash
$ svu current
v1.2.3

Expand All @@ -55,7 +55,7 @@ identifiers are cleaned up.

**Examples:**

```sh
```bash
$ svu current
v1.2.3-alpha.2+123

Expand All @@ -76,7 +76,7 @@ identifiers are cleaned up.
**Examples:**

```sh
```bash
$ svu current
v1.2.3-alpha.2+123

Expand All @@ -98,7 +98,7 @@ You can force an increment by using `--force-patch-increment`.
**Examples:**

```sh
```bash
$ svu current
v1.2.3-alpha.2+123

Expand Down Expand Up @@ -153,25 +153,27 @@ So, whenever I want to create a tag, I just run `gtn`.

## install

[![Packaging status](https://repology.org/badge/vertical-allrepos/svu.svg)](https://repology.org/project/svu/versions)

### macOS

```sh
```bash
brew install caarlos0/tap/svu
```

### linux

#### apt

```sh
```bash
echo 'deb [trusted=yes] https://apt.fury.io/caarlos0/ /' | sudo tee /etc/apt/sources.list.d/caarlos0.list
sudo apt update
sudo apt install svu
```

#### yum

```sh
```bash
echo '[caarlos0]
name=caarlos0
baseurl=https://yum.fury.io/caarlos0/
Expand All @@ -182,7 +184,7 @@ sudo yum install svu

### docker

```sh
```bash
docker run --rm -v $PWD:/tmp --workdir /tmp ghcr.io/caarlos0/svu --help
```

Expand Down

0 comments on commit 7ff05bf

Please sign in to comment.