Commit aadd4948c055e4d769e7de823edcb49c6f1868f7

Authored by Georg Hopp
1 parent cba36f7e

New version management

Showing 1 changed file with 11 additions and 4 deletions
... ... @@ -24,10 +24,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
24 24 */
25 25 package logger
26 26
27   -const (
28   - VERSION = "m4_version"
29   - REVISION = "m4_revision"
30   - BUILD_TIME = "m4_build_time"
  27 +import (
  28 + "gitlab.weird-web-workers.org/golang/version"
  29 +)
  30 +
  31 +var (
  32 + VERSION = version.Version{
  33 + Package: "m4_package",
  34 + Version: "m4_version",
  35 + Revision: "m4_revision",
  36 + BuildTime: "m4_build_time",
  37 + }
31 38 )
32 39
33 40 // vim: ts=4 sts=4 sw=4 noet tw=72:
... ...
Please register or login to post a comment