diff options
| author | Jeff Carr <[email protected]> | 2024-02-28 22:01:32 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-28 22:01:32 -0600 |
| commit | 2c1cd3343bfc0d3c032965da9eed62ea511bb3b8 (patch) | |
| tree | dba7bc1215dd850ca2f59f6999c91c1ef44cdf66 /main.go | |
| parent | e825cffc8a42aa932b7e80cbaa8e8e679446c671 (diff) | |
make the version an ldflag
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,6 +10,8 @@ import ( "go.wit.com/log" ) +var VERSION string + // TODO: autocompute these in the gui var releaseReasonS string var releaseVersion string @@ -41,7 +43,7 @@ func main() { me.myGui.Default() // our main window - me.mainWindow = me.myGui.NewWindow("GUI release manager") + me.mainWindow = me.myGui.NewWindow("GUI release manager " + VERSION) me.mainBox = me.mainWindow.NewBox("bw hbox", true) // sanity check of things that might be around that mess |
