This commit is contained in:
Radon Rosborough 2021-07-11 01:40:57 +00:00
parent 90611561e3
commit 7b4751d544
1 changed files with 4 additions and 1 deletions

View File

@ -244,7 +244,10 @@ async function getLanguageTestArtifact({ lang }) {
const hash = (await fs.readFile(hashPath, "utf-8")).trim();
const S3_BUCKET = getS3Bucket();
await runCommand(
`aws s3 cp ${hashPath} s3://${S3_BUCKET}/test-hashes/lang/${lang}/${hash}`
`aws s3 rm --recursive s3://${S3_BUCKET}/test-hashes/lang/${lang}`,
);
await runCommand(
`aws s3 cp ${hashPath} s3://${S3_BUCKET}/test-hashes/lang/${lang}/${hash}`,
);
},
};