actionforge / graph-runner

🏃‍♀️ The core cli of Actionforge
Other
12 stars 0 forks source link

Bake build version into binary #4

Closed sebastianrath closed 8 months ago

sebastianrath commented 8 months ago

This PR bakes the build version into the binary when they are built through the GH actions workflow. The version can be added as follows:

go build -ldflags "-X actionforge/graph-runner/core.Version=v1.2.3"