Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update powershell-preview formula to version 7.5.0-preview.3 #1251

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Formula/powershell-preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand All @@ -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
Expand Down Expand Up @@ -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
Loading