ci: Updated the archive names for homebrew and chocolatey
This commit is contained in:
1 parent
cfc296dd75
commit
a1e0a97b84
2 files changed
+5
-5
No files matched your search
@@ -2,7 +2,7 @@ $ErrorActionPreference = 'Stop';
|
||||
|
||||
$PackageName = 'gman'
|
||||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||
$url64 = 'https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-windows.zip'
|
||||
$url64 = 'https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-x86_64-pc-windows-msvc.zip'
|
||||
$checksum64 = '$hash_64'
|
||||
|
||||
$packageArgs = @{
|
||||
@@ -16,5 +16,5 @@ $packageArgs = @{
|
||||
|
||||
}
|
||||
Install-ChocolateyZipPackage @packageArgs
|
||||
$File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.tar
|
||||
$File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.zip
|
||||
Get-ChocolateyUnzip -fileFullPath $File.FullName -destination $env:ChocolateyInstall\lib\$packageName\tools\
|
||||
Reference in new issue
Block a user