m git tag_release¶
Supplement to m github release
.
This command needs the git
cli and it is meant to be run after
m github release
to create a major and minor release tags.
example::
$ m git tag_release --version 1.2.3
It will create or update the following tags::
-v1
-v1.2
Note that the tags may be moved with each release to point to the latest release. This is done by deleting the tag and creating it again.
Source code in m/cli/commands/git/tag_release.py
Required arguments¶
--version
¶
version to create tags from
Options¶
--sha
¶
- default:
''
sha to tag
--major-only
¶
- default:
false
only create major tag