Skip to content

VPP is a version incrementing command line utility written in Go

License

Notifications You must be signed in to change notification settings

andreimerlescu/vpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VPP Version Plus Plus

Build & Test VPP

About

The vpp utility is small. It's designed to accept up to 2 CLI arguments but only 1 is required. The first argument is responsible for what the CURRENT VERSION is of your project and when you run vpp CURRENT_VERSION the STDOUT will be the next PATCH release. Otherwise, if the next intended release is a major release, then run vpp CURRENT_VERSION major.

Installation

This package is intended to be installed on your system and should be accessible via your path.

go install github.com/andreimerlescu/vpp@latest

Usage

Ensure the vpp package is in your path before using.

./vpp VERSION [bumpType]
         ^        ^ 
         |        |
         |        --- acceptable values "major", "minor" or "patch" (default)
         |
         ------------- the CURRENT version that you wish to bump
Acceptable Format Example Value Command Output
Major 1 vpp 1 1.0.1
Major.Minor 1.1 vpp 1.1 1.1.1
Major.Minor.Patch 1.1.1 vpp 1.1.1 1.1.2

License

This project uses the MIT License.

Contributors

  1. @andreimerlescu

About

VPP is a version incrementing command line utility written in Go

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages