Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(lhctl): upgrade to v0.12.1 #5

Merged
merged 6 commits into from
Jan 8, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@v3
uses: actions/cache@v3.4.0
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
Expand Down
8 changes: 4 additions & 4 deletions Formula/lhctl.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
class Lhctl < Formula
desc "LittleHorse CLI for managing all things LittleHorse"
homepage "https://littlehorse.dev/docs/developer-guide/lhctl"
homepage "https://littlehorse.io/docs/server/developer-guide/lhctl"
url "https://github.com/littlehorse-enterprises/littlehorse.git",
tag: "v0.11.2",
revision: "fd1ff8340336b411a0f208b9bd4d01fed0d5985f"
tag: "v0.12.1",
revision: "0a139369d72e045481f8436124f35f3da330be97"
license "SSPL-1.0"
head "https://github.com/littlehorse-enterprises/littlehorse.git", tag: "v0.11.2"
head "https://github.com/littlehorse-enterprises/littlehorse.git", tag: "v0.12.1"

depends_on "go" => :build

Expand Down
20 changes: 20 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class LhctlAT011 < Formula
desc "LittleHorse CLI for managing all things LittleHorse"
homepage "https://littlehorse.io/docs/server/developer-guide/lhctl"
url "https://github.com/littlehorse-enterprises/littlehorse.git",
tag: "v0.11.2",
revision: "fd1ff8340336b411a0f208b9bd4d01fed0d5985f"
license "SSPL-1.0"
head "https://github.com/littlehorse-enterprises/littlehorse.git", tag: "0.11.2"

depends_on "go" => :build

def install
ldflags = "-X main.version=#{version} -X main.buildSource=homebrew"
system "go", "build", "-C", "lhctl", *std_go_args(ldflags:)
end

test do

Check failure on line 17 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew test --verbose littlehorse-enterprises/lh/[email protected]` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:54:in `<main>'
assert_match "Generally a UserTaskRun", shell_output("#{bin}/lhctl --help")
end
end
Loading