Adding a new subcommand for version. This grabs the current version in the new COMBO_VERSION file and loads it into the version package along with the SHA of the current Git commit.
Example:
$ combo version
Combo version: v0.0.1
git commit: fefd778d2eb9e54b3ad58be0b26929e9fd369ee5
$ combo version --full
v0.0.1-fefd778d2eb9e54b3ad58be0b26929e9fd369ee5
Additions
New version subcommand with --full flag
Makefile update to the build target to use ldflags
Summary
Adding a new subcommand for version. This grabs the current version in the new
COMBO_VERSION
file and loads it into theversion
package along with the SHA of the current Git commit.Example:
Additions
version
subcommand with--full
flagbuild
target to useldflags
Closes #22