0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-24 11:10:39 +00:00
Semantic versioning tool for git based on conventional commits
Go to file
2019-12-04 19:35:47 -03:00
cmd/git-sv refactor: fix NextVersion typo 2019-11-17 13:41:00 -03:00
sv test: unit tests for releasenotes.go 2019-11-17 14:43:01 -03:00
.gitignore build: ignore bin dir 2019-11-17 13:06:44 -03:00
go.mod feat: add support for current-version, next-version, commit-log and release-notes 2019-11-17 13:17:24 -03:00
go.sum feat: add support for current-version, next-version, commit-log and release-notes 2019-11-17 13:17:24 -03:00
LICENSE Initial commit 2019-11-17 12:42:31 -03:00
Makefile build: fix makefile usage 2019-12-04 19:35:47 -03:00
README.md docs: first version of readme 2019-11-17 13:37:41 -03:00

sv4git

Semantic version for git

Getting Started

Installing

Comming soon...

Running

run git-sv to get the list of available parameters

git-sv

Run as git command

if git-sv is configured on your path, you can use it like a git command

git sv
git sv current-version
git sv next-version

Development

Makefile

run make to get the list of available actions

make

Make configs

Variable description
BUILDOS build OS
BUILDARCH build arch
ECHOFLAGS flags used on echo
BUILDENVS var envs used on build
BUILDFLAGS flags used on build
Parameters description
args parameters that will be used on run
#variables
BUILDOS="linux" BUILDARCH="amd64" make build

#parameters
make run args="-h"

Build

make build

the binary will be created on bin/$BUILDOS_$BUILDARCH/git-sv

Tests

make test

Run

#without args
make run

#with args
make run args="-h"