modular

command module
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

README

modular

Go Report golangci-lint

Background

This is a hobby project for learning go-git and simplifying commit - tag - push workflows.

Usage

modular tag_command "commit message"

tag_command indicates that an annotated tag should be created. It can be either:

  • the keyword bump - increment the minor revision of the latest semver tag in the repo
  • a semver string - the tag will be created with a prefix of v - 1.0.0 becomes v1.0.0
Example
git add README.md
modular bump "add documentation"

replaces

git add README.md
git tag -l  # find the last tag used and increment the minor revision
git commit -m "add documentation"
git tag -a v0.1.5 -m "v0.1.5"
git push origin master
git push origin v0.1.5

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL