The Lotus Release Tool is a CLI (Command Line Interface) utility designed to facilitate interactions with the Lotus Node and Miner metadata. This tool allows users to retrieve version information in either JSON or text format. The Lotus Release Tool was developed as a part of the 2024Q2 release process automation initiative and is used in the GitHub Actions workflows related to the release process.
Features
- List all projects with their expected version information.
- Output logs in JSON or text format.
Installation
To install the Lotus Release Tool, you need to have Go installed on your system.
- Build the tool:
go build -o release ./cmd/release
Usage
The release
tool provides several commands and options to interact with the Lotus Node and Miner.
Commands
- List Projects: List all projects with their version information.
./release list-projects
Options
Example
List Lotus Node and Lotus Miner version information with JSON formatted output:
./release --json list-projects