From 8d3572a53e9080024a21f5493e7ca180cddbebd9 Mon Sep 17 00:00:00 2001 From: Himbeer Date: Wed, 26 Feb 2025 09:10:23 +0100 Subject: Update check for development build to new Go pseudo-version format --- plugin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) } -- cgit v1.2.3