diff --git a/Formula/powershell.rb b/Formula/powershell.rb index 8eaa46e..1e48277 100644 --- a/Formula/powershell.rb +++ b/Formula/powershell.rb @@ -10,10 +10,10 @@ class Powershell < Formula desc "Formula to install PowerShell" homepage "https://github.com/powershell/powershell" - @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.3.9/powershell-7.3.9-osx-arm64.tar.gz" - @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.3.9/powershell-7.3.9-osx-x64.tar.gz" - @arm64sha256 = "83ade13242542181694a5f4dca5090b3459876affc4b751a155b518e164eb3eb" - @x64sha256 = "0c8fa6dc8935670dbddc7e95475f43340102040a6a74810d96b2b6fc3ff7bcd7" + @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-osx-arm64.tar.gz" + @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.0/powershell-7.4.0-osx-x64.tar.gz" + @arm64sha256 = "1674fdd5718cafb804eff7585fe8b7041362322aa944e0d2f816ca1d75e6351f" + @x64sha256 = "8b6bd0b4da7ac2053683ed298b396f8929ff5ca3b803065c736f53209e815c13" # We do not specify `version "..."` as 'brew audit' will complain - see https://github.com/Homebrew/legacy-homebrew/issues/32540 if Hardware::CPU.intel? @@ -26,7 +26,7 @@ class Powershell < Formula sha256 @arm64sha256 end - version "7.3.9" + version "7.4.0" version_scheme 1 # .NET Core 3.1 requires High Sierra - https://docs.microsoft.com/en-us/dotnet/core/install/dependencies?pivots=os-macos&tabs=netcore31 @@ -56,7 +56,7 @@ def caveats end test do - assert_equal "7.3.9", + assert_equal "7.4.0", shell_output("#{bin}/pwsh -c '$psversiontable.psversion.tostring()'").strip end end