gittable.tag_version
tag_version
tag_version(
directory: str | pathlib.Path = os.path.curdir,
message: str = "",
) -> str
Tag your project with the package version number if no pre-existing tag with that version number exists.
Parameters:
-
directory
(str | pathlib.Path
, default:os.path.curdir
) – -
message
(str
, default:''
) –
Returns:
-
str
–The version number
Source code in src/gittable/tag_version.py
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 |
|