haunt98 / bumper-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bumper

Collection of bumping version scripts.

Because there is no 1 rule fit all.

So I made bump00, bump01, ... as time goes by.

bump00

Install:

go install github.com/haunt98/bumper-go/cmd/bump00@latest

RC mode aka default mode:

bump00
  • If latest tag is release, it will bump patch with RC1: v1.2.3 -> v1.2.4-RC1
  • If latest tag is RC, it will only bump RC: v1.2.4-RC1 -> v1.2.4-RC2 -> v1.2.4-RC3

Release mode:

bump00 --release
  • If latest tag is release, it will bump patch: v1.2.3 -> v1.2.4
  • If latest tag is RC, it will only remove RC: v1.2.4-RC1 -> v1.2.4

You can mixed RC and release mode.

About

License:MIT License


Languages

Language:Go 94.5%Language:Makefile 5.5%