zopencommunity / wharf

A container registry
Apache License 2.0
6 stars 4 forks source link

Removed embedded version tag and use linker flags instead #47

Closed dustin-ward closed 6 months ago

dustin-ward commented 6 months ago

Embed version number with:

go build -ldflags="-X 'main.Version=1.1.3'"

This helps us dynamically update the version number for zopen

Will automatically tag with module information if installed from go install github.com/ZOSOpenTools/wharf@latest