An open API service indexing awesome lists of open source software.

https://github.com/dhth/inc

Get the next semver for your repo from git tags
https://github.com/dhth/inc

git semver versioning

Last synced: 2 months ago
JSON representation

Get the next semver for your repo from git tags

Awesome Lists containing this project

README

          

# inc

✨ Overview
---

`inc` gives you the next semver for your repo, based on git tags.

```bash
$ inc
# 2.37.0 👉 2.37.1
```

💾 Installation
---

**homebrew**:

```sh
brew install dhth/tap/inc
```

**go**:

```sh
go install github.com/dhth/inc@latest
```

⚡️ Usage
---

`inc` is dead simple to use.

```bash
inc

# will print out the next version as follows, and will also copy it to your
# system clipboard
# 2.37.0 👉 2.37.1

# flags
inc -type='minor'
inc -copy-version=false
inc -print-version=false
inc -print-fancy=false
```