Skip to content

Commit

Permalink
Add license files
Browse files Browse the repository at this point in the history
  • Loading branch information
rail committed May 24, 2024
1 parent e57d834 commit 71b59b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release/cockroach-sql-tmpl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class CockroachSql < Formula

def install
bin.install "cockroach-sql"
if version >= Version::new("24.1.0")
prefix.install "LICENSE.txt", "THIRD-PARTY-NOTICES.txt"
end
end

test do
Expand Down
3 changes: 3 additions & 0 deletions release/cockroach-tmpl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ class Cockroach{{ .ClassSuffix }} < Formula

def install
bin.install "cockroach"
if version >= Version::new("24.1.0")
prefix.install "LICENSE.txt", "THIRD-PARTY-NOTICES.txt"
end
on_intel do
lib.mkpath
mkdir "#{lib}/cockroach"
Expand Down

0 comments on commit 71b59b4

Please sign in to comment.