Skip to content

Commit

Permalink
Update argo-workflows cli package to version 3.4.1
Browse files Browse the repository at this point in the history
rc2: Fix the failing upgrade of the package
  • Loading branch information
sgutwein committed Oct 14, 2022
1 parent 4908cde commit 1ecfb95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions argo-workflows/argo-workflows.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>argo-workflows</id>
<version>3.4.0</version>
<version>3.4.1-rc2</version>
<packageSourceUrl>https://github.com/sgutwein/chocolatey-packages</packageSourceUrl>
<owners>sgutwein</owners>
<title>argo-workflows (CLI)</title>
Expand All @@ -19,7 +19,7 @@
<tags>argo-workflows-cli argo-workflows</tags>
<summary>CLI for argo-workflows</summary>
<description>Installs the cli of argo-workflows.</description>
<releaseNotes>https://github.com/argoproj/argo-workflows/releases/tag/v3.4.0</releaseNotes>
<releaseNotes>https://github.com/argoproj/argo-workflows/releases/tag/v3.4.1</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
Expand Down
9 changes: 3 additions & 6 deletions argo-workflows/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64 = 'https://github.com/argoproj/argo-workflows/releases/download/v3.4.0/argo-windows-amd64.exe.gz'
$url64 = 'https://github.com/argoproj/argo-workflows/releases/download/v3.4.1/argo-windows-amd64.exe.gz'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'EXE'
url64bit = $url64
softwareName = 'argo-workflows'
checksum64 = 'dcdcd8c619db0a46c80c3c5f83760d9e76141ba0e7926be3d30bb5df7131a981'
checksum64 = 'b65d795fb882643229f6862a82e5e7fc3324eeda24c77d01185c6a3c3c1b7753'
checksumType64= 'sha256'
silentArgs = ''
validExitCodes= @(0)
}
Install-ChocolateyZipPackage $packageName $url $toolsDir $url64 -checksum64 $checksum64 -checksumType64 $checksumType64
Rename-Item $toolsDir/argo-windows-amd64.exe $toolsDir/$packageName.exe
Move-Item -Force $toolsDir/argo-windows-amd64.exe $toolsDir/$packageName.exe

0 comments on commit 1ecfb95

Please sign in to comment.