https://github.com/gableroux/git-bump-cli
Bump latest git tag following semver and nothing more
https://github.com/gableroux/git-bump-cli
bump command-line git-tag npm-package
Last synced: 4 months ago
JSON representation
Bump latest git tag following semver and nothing more
- Host: GitHub
- URL: https://github.com/gableroux/git-bump-cli
- Owner: GabLeRoux
- License: mit
- Created: 2020-02-27T15:17:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T17:29:35.000Z (over 3 years ago)
- Last Synced: 2025-06-09T03:18:54.837Z (12 months ago)
- Topics: bump, command-line, git-tag, npm-package
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@gableroux/git-bump
- Size: 193 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE.md
Awesome Lists containing this project
README
# git-bump-cli
[](https://www.npmjs.com/package/@gableroux/git-bump)
[](https://travis-ci.com/GabLeRoux/git-bump-cli)
[](LICENSE.md)
Bump latest git tag following [semver](https://semver.org/) and nothing more.
## Installation
```bash
npm i -g @gableroux/git-bump
```
## Usage
```bash
git bump
```
```
_ _ _
__ _(_) |_ | |__ _ _ _ __ ___ _ __
/ _` | | __| | '_ \| | | | '_ ` _ \| '_ \
| (_| | | |_ | |_) | |_| | | | | | | |_) |
\__, |_|\__| |_.__/ \__,_|_| |_| |_| .__/
|___/ |_|
? Select what you desire (Use arrow keys)
❯ patch
minor
major
prepatch
preminor
premajor
prerelease
```
```
Successfully fetched tags
Latest tag: v1.0.0
next tag: v1.0.1
Successfully added tag v1.0.1
```
## What this is not
This command line does not aim to replace nice tools such as [`sindresorhus/np`](https://github.com/sindresorhus/np) (which I totally recommend if you're using node). `@gableroux/git-bump` won't update `package.json` for you, nor publish to `npm` or whatever package manager you're using. It is only aimed to bump latest git tag locally. :+1:
## How to publish
```bash
npm i -g np
np
```
Nope, I'm not eating own dog food here. This project is only intended to interact with `git` command line.
## License
[MIT](LICENSE.md) © [Gabriel Le Breton](https://gableroux.com)