Skip to content
This repository was archived by the owner on Dec 29, 2024. It is now read-only.

Commit 5f554a0

Browse files
committed
fix setup tags for go work
1 parent 7c62e1d commit 5f554a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/tag/tag.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func Cmd() console.CommandGetter {
9696
m.Changed = true
9797
if minor {
9898
m.Version.Minor++
99+
m.Version.Patch = 0
99100
} else {
100101
m.Version.Patch++
101102
}
@@ -135,6 +136,7 @@ func Cmd() console.CommandGetter {
135136
if !m.Changed {
136137
if minor {
137138
m.Version.Minor++
139+
m.Version.Patch = 0
138140
} else {
139141
m.Version.Patch++
140142
}

0 commit comments

Comments
 (0)