()
| 44 | } |
| 45 | |
| 46 | async function publish_github() { |
| 47 | // Get all of the tags in the repo. |
| 48 | const allTags = await githubHelper.getTags(); |
| 49 | const taggedReleases = await githubHelper.getTaggedReleases(); |
| 50 | const tagsToBuild = filterTagsWithReleaseBundles(allTags, taggedReleases); |
| 51 | |
| 52 | if (tagsToBuild.length === 0) { |
| 53 | logHelper.log(`No tags missing from GitHub.`); |
| 54 | return; |
| 55 | } |
| 56 | |
| 57 | for (const tagToBuild of tagsToBuild) { |
| 58 | await handleGithubRelease( |
| 59 | tagToBuild.name, |
| 60 | tagToBuild.name, |
| 61 | taggedReleases[tagToBuild.name], |
| 62 | ); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | module.exports = { |
| 67 | publish_github, |
nothing calls this directly
no test coverage detected