Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Formula/render.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Render < Formula
desc "Command-line interface for Render"
homepage "https://github.com/render-oss/cli"
url "https://github.com/render-oss/cli/archive/refs/tags/v1.0.0.tar.gz"
sha256 "bbc1a37e541c2bbfcb96bbff043fe4f9bcb1e80c70a5224639f1e0a99c0e2cc1"
url "https://github.com/render-oss/cli/archive/refs/tags/v1.1.1.tar.gz"
sha256 "c68166aab1f2160be2ad7662e9174498235d5a345d54c6a0588a3ac835dcc5ea"
license "Apache-2.0"
head "https://github.com/render-oss/cli.git", branch: "main"

Expand All @@ -16,7 +16,7 @@ class Render < Formula
def install
ldflags = %W[
-s -w
-X github.com/renderinc/cli/pkg/cfg.Version=#{version}
-X github.com/render-oss/cli/pkg/cfg.Version=#{version}
]
system "go", "build", *std_go_args(ldflags: ldflags)
end
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ Or `brew tap render-oss/render` and then `brew install <formula>`.
## Documentation

`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).

## Updating Render cli version

1. Update `url` in `render.rb` to point to the new version
2. Update `sha256` in `render.rb` to the sha of the tar file the url points to (`shasum -a 256 ./cli-1.1.1.tar.gz`)