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
- Host: GitHub
- URL: https://github.com/dhth/inc
- Owner: dhth
- License: mit
- Created: 2024-03-09T07:29:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-09T08:16:15.000Z (over 2 years ago)
- Last Synced: 2025-06-06T04:38:28.705Z (about 1 year ago)
- Topics: git, semver, versioning
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```