diff --git a/Formula/powershell-lts.rb b/Formula/powershell-lts.rb index 3cef16c9..fe82019b 100644 --- a/Formula/powershell-lts.rb +++ b/Formula/powershell-lts.rb @@ -10,10 +10,10 @@ class PowershellLts < Formula desc "Formula to install PowerShell Long Term Stable Channel" homepage "https://github.com/powershell/powershell" - @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-arm64.tar.gz" - @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.7/powershell-7.4.7-osx-x64.tar.gz" - @arm64sha256 = "E673692D92D32378D9F4489E7919624A36D8915DA44A69E6125724250F52E2C6" - @x64sha256 = "F5E88C4AF7C4B989762561567C80A43B8F549278D41C7C08ACEE7ABBAFF25637" + @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-osx-arm64.tar.gz" + @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.11/powershell-7.4.11-osx-x64.tar.gz" + @arm64sha256 = "18F03E99BAA6B7BC7EC346AAA97CF7CA70782BBF746C9FF3D17CD45CF625DA04" + @x64sha256 = "53D00760D41B0A2B2E849C803C36E4C94707BA1808992AF96A2B0416D90F2BD5" # 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 PowershellLts < Formula sha256 @arm64sha256 end - version "7.4.7" + version "7.4.11" 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.4.7", + assert_equal "7.4.11", shell_output("#{bin}/pwsh-lts -c '$psversiontable.psversion.tostring()'").strip end end diff --git a/Formula/powershell-preview.rb b/Formula/powershell-preview.rb index fda86cbe..6e1affa0 100644 --- a/Formula/powershell-preview.rb +++ b/Formula/powershell-preview.rb @@ -10,10 +10,10 @@ class PowershellPreview < Formula desc "Formula to install PowerShell Preview" homepage "https://github.com/powershell/powershell" - @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.6.0-preview.3/powershell-7.6.0-preview.3-osx-arm64.tar.gz" - @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.6.0-preview.3/powershell-7.6.0-preview.3-osx-x64.tar.gz" - @arm64sha256 = "93779106A33A61BA9BADC3B7C20859D28F005B46CB27342828A8E45123417316" - @x64sha256 = "CCC08C24422B8050AD216F55FD21141AB2241CC10192D47BB92EC5F350B81398" + @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.6.0-preview.4/powershell-7.6.0-preview.4-osx-arm64.tar.gz" + @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.6.0-preview.4/powershell-7.6.0-preview.4-osx-x64.tar.gz" + @arm64sha256 = "72F0AD36BF6D29BFAE7E0E2862899BE04C2C6095EBE7BD4DFF2BF27B83A518D7" + @x64sha256 = "45D52B26032E543EC23230CF88B2CF5A55C32164714035DFE48DBAB2F4077532" # 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 PowershellPreview < Formula sha256 @arm64sha256 end - version "7.6.0-preview.3" + version "7.6.0-preview.4" version_scheme 1 livecheck do @@ -60,7 +60,7 @@ def caveats end test do - assert_equal "7.6.0-preview.3", + assert_equal "7.6.0-preview.4", shell_output("#{bin}/pwsh-preview -c '$psversiontable.psversion.tostring()'").strip end end diff --git a/Formula/powershell.rb b/Formula/powershell.rb index ec1413c3..618bdc29 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.5.0/powershell-7.5.0-osx-arm64.tar.gz" - @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0/powershell-7.5.0-osx-x64.tar.gz" - @arm64sha256 = "107BFE351CB231D22FFAAC14A6025CFECECE3735BD7DFF11670589FD5D7EE3D5" - @x64sha256 = "F4BC500029D9820B15C67F885C65ABBEE0AA944F3057E5D99E0F8658C600FD9B" + @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-arm64.tar.gz" + @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell-7.5.2-osx-x64.tar.gz" + @arm64sha256 = "A02D1D79589C71E8D35E458D90F085CFC1F0A688EBBEA4DAB8632187C057F7A1" + @x64sha256 = "905DC9EC0BB588993AACA9FFFE15DDBFFC764164B09CBDF63D5EA25E8362839C" # 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.5.0" + version "7.5.2" 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.5.0", + assert_equal "7.5.2", shell_output("#{bin}/pwsh -c '$psversiontable.psversion.tostring()'").strip end end