GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JFWenisch/semver-cli: semver-cli is an application written in go that eases the creation of tags and releases during CI.

BranchesTags
Open more actions menu

Latest commit

 

History

56 Commits
56 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmd
cmd
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 

Repository files navigation

semver-cli

build Version License Maintainability Size

semver-cli is an application that eases the creation of tags and releases during CI. semver cli is written in go using cobra.

Quick start

# Get the latest tag found in the repository (local & remote)
$ semver-cli tags list --latest
v11.22.33

# Output the tag on minor changes
$ semver-cli tags bump --type minor --prefix v --dry-run
v11.23.0

Usage

Given a version number MAJOR.MINOR.PATCH, increment the:

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards compatible manner, and
  • PATCH version when you make backwards compatible bug fixes.
$ semver-cli tags bump -h
Funcitionality to identify and/or create the next tag in relation to semver conventions

Usage:
  semver-cli tags bump [flags]

Flags:
  -d, --dry-run                   Outputs the next determined version without creating it
  -h, --help                      help for bump
  -p, --prefix string             The prefix for tagging e.g. 'v'
  -r, --release-branches string   Comma seperated list of release branches. When command is executed on a non-release branch, a pre-release version is created' (default "main,master")
  -t, --type string               Type of commit, e.g. 'major', 'minor' or 'patch'

Build

go get -d -v ./...
go install -v ./...
go build

About

semver-cli is an application written in go that eases the creation of tags and releases during CI.

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.