From 6138bece53b3293999755231c769463105e9e175 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Wed, 20 Jul 2022 19:58:10 +0200 Subject: [PATCH] Only append -dev when vcs.modified is true --- OrbitalBeat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OrbitalBeat.go b/OrbitalBeat.go index 5238c9c..c555fab 100644 --- a/OrbitalBeat.go +++ b/OrbitalBeat.go @@ -726,7 +726,7 @@ func main() { for _, s := range dInfo.Settings { if s.Key == "vcs.revision" { programVersion = s.Value - } else if s.Key == "vcs.modified" { + } else if s.Key == "vcs.modified" && s.Value == "true" { programVersion += "-dev" } }