Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
verdverm committed Oct 25, 2022
1 parent 07f4017 commit 04340c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .hof/shadow/AdhocGen/hof.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Hof < Formula
desc "Flexible data modeling & code generation system"
desc "A flexible data modeling & code generation system"
homepage "https://hofstadter.io/"
version "0.6.7-rc.2"
version "0.6.7"
url "https://github.com/hofstadter-io/hof.git",
tag: "v0.6.7-rc.2",
revision: "521e084f36adf29a9e71636a05f02904c481ef89"
tag: "v0.6.7",
revision: "5f6770b9628cd46a4caa24594e052dd715ac2dca"
license "BSD-3-Clause"
head "https://github.com/hofstadter-io/hof.git", branch: "_dev"

Expand All @@ -18,14 +18,14 @@ def install
ldflags = %W[ -s -w -X github.com/hofstadter-io/hof/cmd/hof/verinfo.Version=#{version} -X github.com/hofstadter-io/hof/cmd/hof/verinfo.Commit=#{Utils.git_head} -X github.com/hofstadter-io/hof/cmd/hof/verinfo.BuildDate=#{time.iso8601} -X github.com/hofstadter-io/hof/cmd/hof/verinfo.GoVersion=#{Formula["go"].version} -X github.com/hofstadter-io/hof/cmd/hof/verinfo.BuildOS=#{os} -X github.com/hofstadter-io/hof/cmd/hof/verinfo.BuildArch=#{arch} ]

ENV["CGO_ENABLED"] = "0"
ENV["HOF_TELEMETRY_DISABLED"] = 1
ENV["HOF_TELEMETRY_DISABLED"] = "1"
system "go", "build", *std_go_args(ldflags: ldflags), "./cmd/hof"

generate_completions_from_executable(bin/"hof", "completion")
end

test do
ENV["HOF_TELEMETRY_DISABLED"] = 1
ENV["HOF_TELEMETRY_DISABLED"] = "1"
assert_match "v#{version}", shell_output("#{bin}/hof version")
end
end
8 changes: 4 additions & 4 deletions hof.cue
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package main
import "strings"

name: "hof"
version: "0.6.7-rc.2"
tag: "v0.6.7-rc.2"
commit: "521e084f36adf29a9e71636a05f02904c481ef89"
desc: "Flexible data modeling & code generation system"
version: "0.6.7"
tag: "v0.6.7"
commit: "5f6770b9628cd46a4caa24594e052dd715ac2dca"
desc: "A flexible data modeling & code generation system"
homepage: "https://hofstadter.io/"
repo: "github.com/hofstadter-io/hof"
url: "https://\(repo).git"
Expand Down
8 changes: 4 additions & 4 deletions hof.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Hof < Formula
desc "Flexible data modeling & code generation system"
desc "A flexible data modeling & code generation system"
homepage "https://hofstadter.io/"
version "0.6.7-rc.2"
version "0.6.7"
url "https://github.com/hofstadter-io/hof.git",
tag: "v0.6.7-rc.2",
revision: "521e084f36adf29a9e71636a05f02904c481ef89"
tag: "v0.6.7",
revision: "5f6770b9628cd46a4caa24594e052dd715ac2dca"
license "BSD-3-Clause"
head "https://github.com/hofstadter-io/hof.git", branch: "_dev"

Expand Down

0 comments on commit 04340c0

Please sign in to comment.