diff --git a/packages/chocolatey/tools/chocolateyinstall.ps1 b/packages/chocolatey/tools/chocolateyinstall.ps1 index 962754eae..c7640f924 100644 --- a/packages/chocolatey/tools/chocolateyinstall.ps1 +++ b/packages/chocolatey/tools/chocolateyinstall.ps1 @@ -6,7 +6,7 @@ $packageVersion = $env:ChocolateyPackageVersion $packageArgs = @{ packageName = $packageName unzipLocation = $toolsDir - url = 'https://github.com/crowdin/crowdin-cli/releases/latest/download/crowdin-cli.zip' + url = 'https://github.com/crowdin/crowdin-cli/releases/download/4.5.2/crowdin-cli.zip' checksum = '820f5c04dd0de0a1875ba8b9eae3b9f9413560914c6b6690f27255f093d2be65' checksumType = 'sha256' } diff --git a/release.config.js b/release.config.js index 77da42f56..b822f2c8d 100644 --- a/release.config.js +++ b/release.config.js @@ -98,6 +98,22 @@ module.exports = { ], "countMatches": true }, + { + "files": [ + "packages/chocolatey/tools/chocolateyinstall.ps1" + ], + "from": "https://github.com/crowdin/crowdin-cli/releases/download/.*/crowdin-cli.zip", + "to": "https://github.com/crowdin/crowdin-cli/releases/download/${nextRelease.version}/crowdin-cli.zip", + "results": [ + { + "file": "packages/chocolatey/tools/chocolateyinstall.ps1", + "hasChanged": true, + "numMatches": 1, + "numReplacements": 1 + } + ], + "countMatches": true + }, { "files": [ "packages/exe/CrowdinCLIInstaller.iss"