(build)
| 1148 | } |
| 1149 | |
| 1150 | function toShotBuildInfo (build) { |
| 1151 | const buildData = { |
| 1152 | version: build.version |
| 1153 | }; |
| 1154 | Object.assign(buildData, build.git); |
| 1155 | if (!empty(build.pullRequests)) { |
| 1156 | buildData.pullRequests = build.pullRequests; |
| 1157 | } |
| 1158 | return buildData; |
| 1159 | } |
| 1160 | |
| 1161 | async function tracePublishedTelegramBuild (build) { |
| 1162 | await storeObject('telegram', toShotBuildInfo(build), build.telegramTrack); |
no test coverage detected