onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

Use homebrew API instead of version.txt #1542

Closed chasefleming closed 2 months ago

chasefleming commented 2 months ago

Problem

Right now after a release the CLI needs to have it's version.txt file updated once it's released on Homebrew. It can't be automatically done in the CI because there is a delay from publishing a release to when Homebrew approves and releases the CLI.

Suggested Solution

Use the Homebrew API to get the package version released and remove this step entirely: https://formulae.brew.sh/api/formula/flow-cli.json