package/mender: set version in go linker
authorMirza Krak <mirza.krak@northern.tech>
Mon, 20 Aug 2018 13:09:11 +0000 (15:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 20 Aug 2018 15:14:09 +0000 (17:14 +0200)
commitff2c8883fbbed2708bab2f00c1373859381eb495
tree468af200efd8d2386b69c451aa482c6ee3aa2ebc
parent7175f968fbdaf8b12a42aaeca4ddef63772b204e
package/mender: set version in go linker

This is used when calling the mender client with the
-version option and it says "unknown" if not set in
linker.

Now it displays the following:

    # mender -version
    1.4.0
    runtime: go1.10.2

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mender/mender.mk