operator-framework / combo

Apache License 2.0
8 stars 15 forks source link

feat: add version subcommand #35

Closed tylerslaton closed 2 years ago

tylerslaton commented 2 years ago

Summary

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

Closes #22

timflannagan commented 2 years ago

/rebase