diff --git a/.version b/.version index 18cae6ffb..f20ee5437 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -0.2.418-next \ No newline at end of file +0.2.419 \ No newline at end of file diff --git a/increment-version/main.go b/increment-version/main.go index 50490fa9c..ffc733887 100644 --- a/increment-version/main.go +++ b/increment-version/main.go @@ -1,15 +1,12 @@ package main import ( - "flag" "fmt" "log" "os/exec" "strings" ) -var fileFlag = flag.String("file", ".version", "Set the name of the file to modify") - func main() { gitPath, err := exec.LookPath("git") if err != nil { @@ -23,11 +20,5 @@ func main() { } count := strings.TrimSpace(string(output)) - var dirty string - cmd = exec.Command(gitPath, "diff", "--quiet") - if cmd.Run() != nil { - dirty = "-next" - } - - fmt.Printf("0.2.%s%s", count, dirty) + fmt.Printf("0.2.%s", count) }