Open e-minguez opened 5 months ago
Usually golang binaries include some more metadata (such as git commit, build date, go version, etc.):
9de807f7344f:~ # /usr/local/bin/nmc -V nmc 0.1.0 9de807f7344f:~ # /usr/local/bin/hauler version __ __ ___ __ __ __ _______ .______ | | | | / \ | | | | | | | ____|| _ \ | |__| | / ^ \ | | | | | | | |__ | |_) | | __ | / /_\ \ | | | | | | | __| | / | | | | / _____ \ | `--' | | `----.| |____ | |\ \----. |__| |__| /__/ \__\ \______/ |_______||_______|| _| `._____| hauler: Airgap Swiss Army Knife GitVersion: 1.0.0 GitCommit: 79b240d GitTreeState: clean BuildDate: 2024-02-20T13:02:55Z GoVersion: go1.21.7 Compiler: gc Platform: linux/arm64 9de807f7344f:~ # /usr/bin/podman version Client: Podman Engine Version: 4.8.3 API Version: 4.8.3 Go Version: go1.21.5 Built: Thu Jan 4 12:00:00 2024 OS/Arch: linux/arm64
This is useful when reporting issues to be able to know which specific version is failing (I know nmc is perfect and it would never fail but just in case :) )
More info https://www.reddit.com/r/rust/comments/y0gxa0/compiling_version_information_into_rust_binary/
Usually golang binaries include some more metadata (such as git commit, build date, go version, etc.):
This is useful when reporting issues to be able to know which specific version is failing (I know nmc is perfect and it would never fail but just in case :) )
More info https://www.reddit.com/r/rust/comments/y0gxa0/compiling_version_information_into_rust_binary/