Skip to content

Commit

Permalink
CI: Upload package info with md5 checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderzobnin committed Mar 9, 2021
1 parent 1fe6401 commit e77990f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/github/publishRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ async function main() {
`alexanderzobnin-zabbix-app-${releaseVersion}.zip`,
`https://uploads.github.com/repos/${GRAFANA_ZABBIX_OWNER}/${GRAFANA_ZABBIX_REPO}/releases/${releaseId}/assets`
);
// Upload package info with md5 checksum
await publishAssets(
`info.json`,
`https://uploads.github.com/repos/${GRAFANA_ZABBIX_OWNER}/${GRAFANA_ZABBIX_REPO}/releases/${releaseId}/assets`
);
} catch (reason) {
console.error(reason.data || reason.response || reason);
// Rethrow the error so that we can trigger a non-zero exit code to circle-ci
Expand Down

0 comments on commit e77990f

Please sign in to comment.