Selaa lähdekoodia

build: Fix tag calculate

世界 1 vuosi sitten
vanhempi
sitoutus
267d9617b7
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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
 }