Skip to content

Commit da69f8c

Browse files
committed
Added version string directly into code due to ease up build process for Debian. Removed build information as it makes no sense because of the same reason.
1 parent ea362f1 commit da69f8c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
22

33
BINARY=mxcheck
44

5-
VERSION=v1.6.0
5+
VERSION=v1.6.1
66

77

88
BUILD=`git rev-parse --short HEAD`

versionmsg.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package main
22

33
// Version is used by the Makefile to set the version
4-
var Version string
4+
var Version string = "v1.6.1"
55

66
// Build is used by the Makefile to set the build, i.e. short git fingerprint
7-
var Build string
7+
// var Build string
88

99
var info = "mxcheck -- Copyright (C) 2019-2024 Steffen Fritz"
1010

@@ -14,4 +14,4 @@ redistribute it under certain conditions. See license file.`
1414

1515
var contact = `For bugs and feature requests use the tracker at github.com/steffenfritz/mxcheck`
1616

17-
var versionmsg = info + "\n\nVersion: " + Version + "\nBuild: " + Build + "\n\n" + license + "\n\n" + contact + "\n"
17+
var versionmsg = info + "\n\nVersion: " + Version + "\n\n" + license + "\n\n" + contact + "\n"

0 commit comments

Comments
 (0)