Sfoglia il codice sorgente

build: Fix tag calculate

世界 1 anno fa
parent
commit
267d9617b7
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      cmd/internal/build_shared/tag.go

+ 0 - 3
cmd/internal/build_shared/tag.go

@@ -17,9 +17,6 @@ func ReadTag() (string, error) {
 	}
 	shortCommit, _ := shell.Exec("git", "rev-parse", "--short", "HEAD").ReadOutput()
 	version := badversion.Parse(currentTagRev[1:])
-	if version.PreReleaseIdentifier == "" {
-		version.Patch++
-	}
 	return version.String() + "-" + shortCommit, nil
 }