Skip to content

Commit 5c4d414

Browse files
authored
Merge pull request #230172 from Homebrew/bump-flyway-11.10.2
flyway 11.10.2
2 parents c8ccb62 + 3f587ee commit 5c4d414

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Formula/f/flyway.rb

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
class Flyway < Formula
22
desc "Database version control to control migrations"
3-
homepage "https://flywaydb.org/"
4-
url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/11.8.2/flyway-commandline-11.8.2.tar.gz"
5-
sha256 "b01677117b6be97e669314cc502da85bdce20b426bafc291738368ab980c8ca5"
3+
homepage "https://www.red-gate.com/products/flyway/community/"
4+
url "https://github.com/flyway/flyway/releases/download/flyway-11.10.2/flyway-commandline-11.10.2.tar.gz"
5+
sha256 "d51fc28303d5dbaeaf0b8f8b3bc1d964d36b7d60d98d79b51eda557200c3c410"
66
license "Apache-2.0"
77

8-
livecheck do
9-
url "https://search.maven.org/remotecontent?filepath=org/flywaydb/flyway-commandline/maven-metadata.xml"
10-
regex(%r{<version>v?(\d+(?:\.\d+)+)</version>}i)
11-
end
12-
138
bottle do
14-
sha256 cellar: :any_skip_relocation, all: "b1f1d5efdc6f0e724f8fec9021585313d6a9f444318c37355372e90f91b719ab"
9+
sha256 cellar: :any_skip_relocation, all: "52de5a7137594ef79bac3bcb5cd079c9ee23dc57310df290c9433f2bb9b63b66"
1510
end
1611

1712
depends_on "openjdk"
@@ -24,6 +19,9 @@ def install
2419
end
2520

2621
test do
27-
system bin/"flyway", "-url=jdbc:h2:mem:flywaydb", "validate"
22+
assert_match version.to_s, shell_output("#{bin}/flyway --version")
23+
24+
assert_match "Successfully validated 0 migrations",
25+
shell_output("#{bin}/flyway -url=jdbc:h2:mem:flywaydb validate")
2826
end
2927
end

0 commit comments

Comments
 (0)