From e7a246db91d1994e44cc7403f2e1a0248d8b401a Mon Sep 17 00:00:00 2001 From: Anka Date: Wed, 21 Aug 2024 16:01:46 +0000 Subject: [PATCH] Update powershell-preview formula to version 7.5.0-preview.3 --- Formula/powershell-preview.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Formula/powershell-preview.rb b/Formula/powershell-preview.rb index 572b2ee..2b77279 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.5.0-preview.1/powershell-7.5.0-preview.1-osx-arm64.tar.gz" - @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.1/powershell-7.5.0-preview.1-osx-x64.tar.gz" - @arm64sha256 = "0da9cbd5977119733e642bab6985d5a3d6b063c5f0d3aa66a6b8c08a98641d2e" - @x64sha256 = "e00179fa4b9ee55773db3706e4af3285141f2c81d6ae33bb5dd4731053fd7eed" + @arm64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/powershell-7.5.0-preview.3-osx-arm64.tar.gz" + @x64url = "https://github.com/PowerShell/PowerShell/releases/download/v7.5.0-preview.3/powershell-7.5.0-preview.3-osx-x64.tar.gz" + @arm64sha256 = "5368b313bd2c5d0dabce865b3ee970b737aea4ed1e07cb517ec9681208e9cdd1" + @x64sha256 = "9b51026ad685c93446d258e927dd8a8587e4bf97e7e64aec482c3dddc74ee9a6" # 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.5.0-preview.1" + version "7.5.0-preview.3" version_scheme 1 livecheck do @@ -60,7 +60,7 @@ def caveats end test do - assert_equal "7.5.0-preview.1", + assert_equal "7.5.0-preview.3", shell_output("#{bin}/pwsh-preview -c '$psversiontable.psversion.tostring()'").strip end end