Skip to content

git-mkver

Installs git-mkver, a tool for automatic Semantic Versioning in git-based projects, from a GitHub release binary.

Terminal window
zi for \
from'gh-r' \
sbin'**/git-mkver' \
idc101/git-mkver
  • from'gh-r' — downloads the release archive from GitHub Releases.
  • sbin'**/git-mkver' — creates a shim named git-mkver pointing to the binary anywhere in the archive tree (requires zinit-annex-bin-gem-node).

The annex zdharma-continuum/zinit-annex-bin-gem-node must be loaded before this recipe.

Terminal window
# prerequisite — load once at the top of .zshrc
zinit light-mode for zdharma-continuum/zinit-annex-bin-gem-node
zi for \
from'gh-r' \
sbin'**/git-mkver' \
idc101/git-mkver