MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / resolveGitHubRepository

Function resolveGitHubRepository

apps/cli/src/release.ts:136–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134};
135
136const resolveGitHubRepository = (): string => {
137 const repository = process.env.GH_REPO?.trim() || process.env.GITHUB_REPOSITORY?.trim();
138 if (!repository) {
139 throw new Error("Set GH_REPO or GITHUB_REPOSITORY before creating a GitHub release.");
140 }
141
142 return repository;
143};
144
145const packWrapperPackage = async (): Promise<string> => {
146 if (!existsSync(wrapperDir)) {

Callers 1

syncGitHubReleaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected