aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2025-02-26 09:10:23 +0100
committerHimbeer <himbeer@disroot.org>2025-02-26 09:10:23 +0100
commit8d3572a53e9080024a21f5493e7ca180cddbebd9 (patch)
tree10cc2e684a38e52d52e891e964e22b8b9953fab8
parent94d917e9dc0030e6930834d620a96f9ab5032af9 (diff)
Update check for development build to new Go pseudo-version format
-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)
}