mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-16 22:10:26 +00:00
Typo
This commit is contained in:
parent
0a9194b883
commit
62a98ea3c5
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ func getTag(match ...string) (string, *semver.PRVersion) {
|
|||
var tag []byte
|
||||
var err error
|
||||
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
||||
if _, err := exec.Command("git", "fetch", "tags").Output(); err != nil {
|
||||
if _, err := exec.Command("git", "fetch", "--tags").Output(); err != nil {
|
||||
return "", nil
|
||||
}
|
||||
if tag, err = exec.Command("git", args...).Output(); err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue