Bump-version - Bump a given semantic version, following a given version fragment

bump-version

Bump a given semantic version, following a given version fragment.

Install

manually

Download the pre-compiled binaries from the OSS releases page and copy them to the desired location.

compiling from source

If you just want to build from source, follow these steps:

clone

git clone https://github.com/wesleimp/bump-version
cd bump-version 

dependencies

go mod tidy

For the next steps, you can just run make install to build binaries directly inside /usr/local/bin/ folder. Or just follow the steps below:

build

make build

verify it works

./bin/bump-version -v

Usage

bump-version [options...] <version>

The available options for the fragment flag are [major | feature | bug | alpha | beta | rc]. See some examples:

fragment version output
major 2.11.7 3.0.0
major 2.11.7-alpha3 3.0.0
feature 2.11.7 2.12.0
feature 2.11.7-alpha3 2.12.0
bug 2.11.7 2.11.8
bug 2.11.7-alpha3 2.11.8
alpha 2.11.7 2.11.7-alpha1
alpha 2.11.7-alpha3 2.11.7-alpha4
beta 2.11.7 2.11.7-beta1
beta 2.11.7-alpha3 2.11.7-beta1
rc 2.11.7 2.11.7-rc1
rc 2.11.7-alpha3 2.11.7-rc1

LICENSE

MIT

Owner
Weslei Juan Novaes Pereira
SRE | Backend Developer :coffee:
Weslei Juan Novaes Pereira
Similar Resources

Mutagen Compose is a modified version of Docker Compose that offers automated integration with Mutagen.

Mutagen Compose Mutagen Compose is a (minimally) modified version of Docker Compose that offers automated integration with Mutagen. This allows you to

Dec 22, 2022

Transform latin letters to runes & vice versa. Go version.

Riimut Transform latin letters to runes & vice versa. Go version. Includes transformers for four main runic alphabets: Elder Futhark Younger Futhark M

Aug 2, 2022

Minified version of Project Sherlock written in GO

Minified version of Project Sherlock written in GO

Dec 19, 2022

UpdatedFlowtbag - An updated version of Flowtbag

License Copyright 2011 Daniel Arndt Licensed under the Apache License, Version 2

Jan 5, 2022

Valse is an kubernetes exporter application that discovers resources such as version

Valse is an kubernetes exporter application that discovers resources such as version

What is the Valse? Valse is an kubernetes exporter application that discovers resources such as version, namespaces, node, pod, deployment, daemonset,

Jul 22, 2022

Golangver - Go's distributives version manager

golangver Go's distributive version manager (knitted myself with love :) Require

Sep 20, 2022

A golang package for comparing and working with k0s version numbers

version A go-language package for managing k0s version numbers. It is based on hashicorp/go-version but adds sorting and comparison capabilities for t

Feb 7, 2022

🛹 A version management tool for kusion

Introduction 💡 kusionup is a version management tool for kusion. It is heavily inspired by goup. 📜️ Language English | 简体中文 ✨ Functional Overview su

Oct 31, 2022

Version library extracted from sigs.k8s.io/release-utils

go-version This package is extracted from sigs.k8s.io/release-utils. There were a couple of subtle changes made, so it has 0 dependencies and can be u

May 6, 2023
Feb 12, 2022
K8s-ingress-health-bot - A K8s Ingress Health Bot is a lightweight application to check the health of the ingress endpoints for a given kubernetes namespace.

k8s-ingress-health-bot A K8s Ingress Health Bot is a lightweight application to check the health of qualified ingress endpoints for a given kubernetes

Jan 2, 2022
Library/tool to change a yaml given a rules file

golang-yaml-rules/yaml-transform Library/tool to change a yaml given a rules file Using jsonpath ( https://github.com/vmware-labs/yaml-jsonpath ), thi

Feb 11, 2022
Count total LoC in a given folder, recursively.

GoLoc A simple CLI tool to calculate the total LoC of a given directory. Usage goloc Flags Flag Description --use-gitignore Use your .gitignore file a

Apr 27, 2022
"go build" wrapper to add version info to Golang applications

govvv The simple Go binary versioning tool that wraps the go build command. Stop worrying about -ldflags and go get github.com/ahmetb/govvv now. Build

Dec 16, 2022
Go Version Manager

gvm By Josh Bussdieker (jbuss, jaja, jbussdieker) while working at Moovweb Currently lovingly maintained by Benjamin Knigge Pull requests and other an

Jan 2, 2023
A live-updating version of the UNIX wc command.
A live-updating version of the UNIX wc command.

lwc A live-updating version of the UNIX wc command. Installation You can get a prebuilt binary for every major platform from the Releases page. Just e

Jul 26, 2022
Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.

gobrew Go version manager Install or update With curl $ curl -sLk https://git.io/gobrew | sh - or with go $ go get -u github.com/kevincobain2000/gobre

Jan 5, 2023
"go build" wrapper to add version info to Golang applications

govvv The simple Go binary versioning tool that wraps the go build command. Stop worrying about -ldflags and go get github.com/ahmetb/govvv now. Build

Dec 16, 2022
A tool to restart a Docker container with a newer version of the image

repull A tool to restart a Docker container with a newer version of an image used by the container Often you may need to pull a newer version of an im

Nov 28, 2022