kapacitor: Fix hash extraction (#3432)

This commit is contained in:
tech189 2022-03-25 03:48:45 +00:00 committed by GitHub
parent e55e2811ca
commit 156490b2e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@
"url": "https://dl.influxdata.com/kapacitor/releases/kapacitor-$version_windows_amd64.zip",
"hash": {
"url": "https://portal.influxdata.com/downloads/",
"regex": "$md5.*\\s.*$basename"
"regex": "$sha256.*\\s.*\\s.*$basename"
},
"extract_dir": "kapacitor-$version-1"
}