You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commits changes with message "Release <tagname>" or custom commit information, tags with the given <tagname> and pushes the branch / tags\.
@@ -25,7 +25,7 @@ If \fB\.git/hook/pre\-release\fR or \fB\.git/hook/post\-release\fR exist, they w
25
25
\-\-semver <name>
26
26
.
27
27
.P
28
-
If the latest tag in your repo matches the semver format requirement, you could increase part of it as the new release tag with this option\. The name must be one of the \fBmajor\fR, \fBminor\fR, \fBpatch\fR\. For example, assumed the latest tag is \fB4\.4\.0\fR, with \fBgitrelease\-\-semverminor\fR you will make a new release with tag \fB4\.5\.0\fR\.
28
+
If the latest tag in your repo matches the semver format requirement, you could increase part of it as the new release tag with this option\. The name must be one of the \fBmajor\fR, \fBminor\fR, \fBpatch\fR\. For example, assumed the latest tag is \fB4\.4\.0\fR, with \fBgitrelease\-\-semverminor\fR you will make a new release with tag \fB4\.5\.0\fR\. Use \fB\-\-prefix\fR if tag has a character before semver\.
29
29
.
30
30
.P
31
31
<tagname>
@@ -34,6 +34,12 @@ If the latest tag in your repo matches the semver format requirement, you could
34
34
The name of the newly created tag\. Also used in tag comment\.
35
35
.
36
36
.P
37
+
\-\-prefix <tag prefix>
38
+
.
39
+
.P
40
+
Use a prefix with a semver tag\.\fBgitrelease\-\-semverminor\-\-prefixr\fR would increment the latest tag r4\.4\.0 to r4\.5\.0\. This prefix can be any length, without spaces\.
41
+
.
42
+
.P
37
43
\-r <remote>
38
44
.
39
45
.P
@@ -64,7 +70,7 @@ Generates or populates the changelog with all commit message since the last tag\
64
70
Create a signed and annotated tag\.
65
71
.
66
72
.P
67
-
\-u <key ID>
73
+
\-u <key\-id>
68
74
.
69
75
.P
70
76
Create a tag, annotated and signed with the given key\.
0 commit comments