MCPcopy
hub / github.com/GoogleChrome/workbox / publish_github

Function publish_github

gulp-tasks/publish-github.js:46–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44}
45
46async 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
66module.exports = {
67 publish_github,

Callers

nothing calls this directly

Calls 3

handleGithubReleaseFunction · 0.85
getTagsMethod · 0.80

Tested by

no test coverage detected