We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57cd55a commit fe42874Copy full SHA for fe42874
packages/cli-lib/projects.js
@@ -64,7 +64,9 @@ async function downloadProject(
64
let zipUrl;
65
if (releaseType === GITHUB_RELEASE_TYPES.REPOSITORY) {
66
logger.log(`Fetching ${releaseType} with name ${repoName}...`);
67
- zipUrl = `https://api.github.com/repos/HubSpot/${repoName}/zipball/${ref}`;
+ zipUrl = `https://api.github.com/repos/HubSpot/${repoName}/zipball${
68
+ ref ? `/${ref}` : ''
69
+ }`;
70
} else {
71
const releaseData = await fetchReleaseData(repoName, tag);
72
if (!releaseData) return;
0 commit comments