]> git.lizzy.rs Git - micro.git/blobdiff - tools/build-version.go
Adjust default keybinding text (#2293)
[micro.git] / tools / build-version.go
index 33f23a1b755c1c34e8eecdaeee90cce84717df31..8194fba66497ff2631cb82e4173f764a79253779 100644 (file)
@@ -1,3 +1,5 @@
+//+build ignore
+
 package main
 
 import (
@@ -53,7 +55,7 @@ func main() {
        }
 
        // If we don't have any tag assume "dev"
-       if tag == "" {
+       if tag == "" || strings.HasPrefix(tag, "nightly") {
                tag = "dev"
        }
        // Get the most likely next version: