mercari / hcledit

Go package to edit HCL configuration
MIT License
44 stars 14 forks source link

Add version and revision at build time to version command #43

Closed micnncim closed 3 years ago

micnncim commented 3 years ago

WHAT

This PR allows hcledit version to show its version from a Git tag and revision from a Git commit determined at build time.

ref: https://goreleaser.com/customization/build

WHY

To show more information to users and let us investigate issues when something is wrong.