Skip to content

Commit

Permalink
ci(chocolatey): explicit package url (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Jan 28, 2025
1 parent b8e93b5 commit d904da2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chocolatey/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
16 changes: 16 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d904da2

Please sign in to comment.