Skip to contents

add a git tag based on the pkg version

Usage

tag_version(.dir = getwd(), .dirty = FALSE, .fetch = TRUE, .push = TRUE)

Arguments

.dir

dir of repo

.dirty

whether to tag given the repo is in a dirty state

.fetch

run a git fetch first to get tags

.push

push created tag