Merge pull request #6920 from open-sausages/pulls/4.0/fix-artifacts-path

BUG Fix artifacts index.html download path
This commit is contained in:
Chris Joe 2017-05-17 12:04:17 +12:00 committed by GitHub
commit 4c1a4eb474

View File

@ -97,6 +97,6 @@ file_put_contents("{$artifactsPath}index.html", $html);
run("~/bin/artifacts upload --permissions public-read --target-paths $targetPath $artifactsPath");
$fullPath = str_replace('//', '/', "$baseUrl/$targetPath/artifacts/index.html");
$fullPath = str_replace('//', '/', "$baseUrl/$targetPath/index.html");
$fullPath = str_replace('https:/s3', 'https://s3', $fullPath);
echo "Uploaded artifacts to $fullPath\n";