Skip to content

Commit c50830e

Browse files
AnkaAnka
Anka
authored and
Anka
committed
Update powershell formula to version 7.4.6
1 parent c30b067 commit c50830e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Formula/powershell.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ class Powershell < Formula
1010
desc "Formula to install PowerShell"
1111
homepage "https://github.com/powershell/powershell"
1212

13-
@arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/powershell-7.4.5-osx-arm64.tar.gz"
14-
@x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.5/powershell-7.4.5-osx-x64.tar.gz"
15-
@arm64sha256 = "a4dd30bff8d5d65b9a2ced4d178411c1723c1737017aff150a488c712b37af52"
16-
@x64sha256 = "d4313a0f80190702b3f5420fa4bcb76bd86582c17842819fdbe7983b94803580"
13+
@arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-arm64.tar.gz"
14+
@x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.4.6/powershell-7.4.6-osx-x64.tar.gz"
15+
@arm64sha256 = "a482d668787ef98c37f0a5a7696107dffdb3dc340c5be3d1c153ec9d239072a8"
16+
@x64sha256 = "7a18daed105b7cfc80bf8cc00762fe7990105dd23f951cc32ceb744651650e3d"
1717

1818
# We do not specify `version "..."` as 'brew audit' will complain - see https://github.com/Homebrew/legacy-homebrew/issues/32540
1919
if Hardware::CPU.intel?
@@ -26,7 +26,7 @@ class Powershell < Formula
2626
sha256 @arm64sha256
2727
end
2828

29-
version "7.4.5"
29+
version "7.4.6"
3030
version_scheme 1
3131

3232
# .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
5656
end
5757

5858
test do
59-
assert_equal "7.4.5",
59+
assert_equal "7.4.6",
6060
shell_output("#{bin}/pwsh -c '$psversiontable.psversion.tostring()'").strip
6161
end
6262
end

0 commit comments

Comments
 (0)