mirror of https://github.com/databricks/cli.git
1c27f081e0
Includes relevant fields listed on https://goreleaser.com/customization/templates/ into build artifacts. The version command outputs the version by default: ``` $ bricks version 0.0.21-devel ``` Or all build information if `--json` is specified: ``` $ bricks version --json { "ProjectName": "bricks", "Version": "0.0.21-devel", "Branch": "version-info", "Tag": "v0.0.20", "ShortCommit": "193b56b", "FullCommit": "193b56b0929128c0836d35e913c46fd66fa2a93c", "CommitTime": "2023-02-02T22:04:42+01:00", "Summary": "v0.0.20-5-g193b56b", "Major": 0, "Minor": 0, "Patch": 20, "Prerelease": "", "IsSnapshot": true, "BuildTime": "2023-02-02T22:07:36+01:00" } ``` |
||
---|---|---|
.. | ||
info.go | ||
info_test.go | ||
variables.go |