Skip to content

Commit 87f28da

Browse files
Update Preview formula for 7.6.0-preview.3 (#1259)
Co-authored-by: Travis Plunk <github@ez13.net>
1 parent a3afac3 commit 87f28da

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Formula/powershell-preview.rb

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

13-
@arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.5/powershell-7.5.0-preview.5-osx-arm64.tar.gz"
14-
@x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.5/powershell-7.5.0-preview.5-osx-x64.tar.gz"
15-
@arm64sha256 = "36d0e9c6837a952de170ddaf1ef6ba05ad489c37bfb32f4ecd44ed57b01658ec"
16-
@x64sha256 = "9ba93972dd852d1e517f51107edb9e4d9222fb622c45063c53667883d8681d10"
13+
@arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.6.0-preview.3/powershell-7.6.0-preview.3-osx-arm64.tar.gz"
14+
@x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.6.0-preview.3/powershell-7.6.0-preview.3-osx-x64.tar.gz"
15+
@arm64sha256 = "93779106A33A61BA9BADC3B7C20859D28F005B46CB27342828A8E45123417316"
16+
@x64sha256 = "CCC08C24422B8050AD216F55FD21141AB2241CC10192D47BB92EC5F350B81398"
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 PowershellPreview < Formula
2626
sha256 @arm64sha256
2727
end
2828

29-
version "7.5.0-preview.5"
29+
version "7.6.0-preview.3"
3030
version_scheme 1
3131

3232
livecheck do
@@ -60,7 +60,7 @@ def caveats
6060
end
6161

6262
test do
63-
assert_equal "7.5.0-preview.5",
63+
assert_equal "7.6.0-preview.3",
6464
shell_output("#{bin}/pwsh-preview -c '$psversiontable.psversion.tostring()'").strip
6565
end
6666
end

0 commit comments

Comments
 (0)