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

git-town 12.0.0 #162239

Merged
merged 2 commits into from Feb 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions Formula/g/git-town.rb
@@ -1,8 +1,8 @@
class GitTown < Formula
desc "High-level command-line interface for Git"
homepage "https://www.git-town.com/"
url "https://github.com/git-town/git-town/archive/refs/tags/v11.1.0.tar.gz"
sha256 "59386dce9d849c68a5363106e5f1200c8a930c998059ecfdc46cd5aa1acff49b"
url "https://github.com/git-town/git-town/archive/refs/tags/v12.0.0.tar.gz"
sha256 "6a7fe5b3911396be7bb485bc37d745986c7d3b95331f1e03dfd0bf277608cb14"
license "MIT"

bottle do
Expand All @@ -20,8 +20,8 @@ class GitTown < Formula
def install
ldflags = %W[
-s -w
-X github.com/git-town/git-town/v11/src/cmd.version=v#{version}
-X github.com/git-town/git-town/v11/src/cmd.buildDate=#{time.strftime("%Y/%m/%d")}
-X github.com/git-town/git-town/v#{version.major}/src/cmd.version=v#{version}
-X github.com/git-town/git-town/v#{version.major}/src/cmd.buildDate=#{time.strftime("%Y/%m/%d")}
]
system "go", "build", *std_go_args(ldflags: ldflags)

Expand Down