polaris940 8e9cb98109
jx: Adds hash regex (#3988)
* jx: Adds hash regex

Adds custom hash to filter out .sbom file

* fix incorrect hash
2022-09-29 22:55:11 +05:30

27 lines
918 B
JSON

{
"version": "3.5.33",
"description": "A command line tool for installing and using Jenkins X",
"homepage": "https://github.com/jenkins-x/jx",
"license": "Apache-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/jenkins-x/jx/releases/download/v3.5.33/jx-windows-amd64.zip",
"hash": "c68cc24b23a3f0529cff1d728f2aaa9c38e0a887e3e94ef461e1bdcdb59aae0d"
}
},
"pre_install": "Stop-Process -Name 'jx' -ErrorAction 'Ignore' -Verbose",
"bin": "jx.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/jenkins-x/jx/releases/download/v$version/jx-windows-amd64.zip"
}
},
"hash": {
"url": "$baseurl/jx-checksums.txt",
"regex": "(?m)$checksum[\\x20\\t]+.*$basename(?:[\\x20\\t]+\\d+)?$"
}
}
}