aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin.go b/plugin.go
index a31f101..21830a1 100644
--- a/plugin.go
+++ b/plugin.go
@@ -5,6 +5,7 @@ import (
"os"
"os/exec"
"plugin"
+ "strings"
"sync"
)
@@ -16,7 +17,7 @@ func BuildPlugin() error {
return err
}
- if version == "(devel)" {
+ if strings.Contains(version, "+dirty") {
return buildPluginDev(version)
}