bump

command module
v0.0.0-...-b208098 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

bump

GitHub release (latest SemVer) bump

Command-line to bump version in a git repository

Install

Snap

Get it from the Snap Store

$ snap install bump
Homebrew
$ brew install guilhem/homebrew-tap/bump
Go get
$ go get github.com/therealfakemoot/bump

Usage

Help
$ 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
      --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
$ git tag
1.1.1
$ bump major
$ git tag
1.1.1
2.0.0
Minor
$ git tag
v1.1.1
$ bump minor
$ git tag
v1.1.1
v1.2.0
Patch
$ git tag
1.1.1
$ bump patch
$ git tag
1.1.1
1.1.2

Documentation

Overview

Copyright © 2019 Guilhem Lettron <guilhem@barpilot.io>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
pkg
git

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL