mendersoftware / mender-server

Other
2 stars 10 forks source link

feat: Add `version` command to all Go binaries #71

Open alfrunes opened 2 weeks ago

alfrunes commented 2 weeks ago

The version command will display the app version (linked at build time) as well as runtime version and commit SHA1.

Changelog: Title Ticket: None

Sample output (created a local v4.0.0-alpha0 tag for demo purposes).

deviceauth version
Version:  v4.0.0-alpha0
Go version:   go1.23.1
Git commit:   0701064f0ee1784feea9178fc11d08c033805cca
Revision time:    2024-10-02T10:58:16Z
Os/Arch:  linux/amd64
deviceauth --version
deviceauth version v4.0.0-alpha0
mender-test-bot commented 2 weeks ago

Merging these commits will result in the following changelog entries:

Changelogs

mender-server (bin-version)

New changes in mender-server since main:

Features