use_git_check_version_not_tagged {packager}R Documentation

Check to Not Commit to a Tagged Version

Description

I sometimes forget to bump the package version of a tagged state in git, then committing git to that version. Nothing severe, but should be avoided. So we add a check (to) a pre-commit hook for git.

Usage

use_git_check_version_not_tagged(path)

Arguments

path

Path to the package directory (see devtools::as.package).

Details

This might work only for proper git, not for packages like gert or git2r.

Value

Invisibly NULL.

See Also

Other infrastructure functions: use_git_pre_commit_script()


[Package packager version 1.15.3 Index]