Skip to content

Commit

Permalink
Remove license version constraints
Browse files Browse the repository at this point in the history
This pr removes the version constraint to install the license files. It
will not affect the current versions, only the formulas that will be
regenerated as a part of the next releases.
  • Loading branch information
rail committed May 30, 2024
1 parent 107d78e commit 80d2b06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions release/cockroach-sql-tmpl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ 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
prefix.install "LICENSE.txt", "THIRD-PARTY-NOTICES.txt"
end

test do
Expand Down
4 changes: 1 addition & 3 deletions release/cockroach-tmpl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ 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
prefix.install "LICENSE.txt", "THIRD-PARTY-NOTICES.txt"
on_intel do
lib.mkpath
mkdir "#{lib}/cockroach"
Expand Down

0 comments on commit 80d2b06

Please sign in to comment.