Skip to content

Commit

Permalink
fix release script (stream-labs#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
avacreeth authored Dec 5, 2018
1 parent 0631dd4 commit 57feee0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,25 +153,25 @@ async function actualUploadS3File(bucket, name, filepath) {
/* Wrapper functions to upload to multiple s3 buckets */

async function uploadUpdateFiles(version, appDir) {
for (const bucket of s3buckets) {
for (const bucket of s3Buckets) {
await actualUploadUpdateFiles(bucket, version, appDir);
}
}

async function setLatestVersion(version, fileName) {
for (const bucket of s3buckets) {
for (const bucket of s3Buckets) {
await actualSetLatestVersion(bucket, version, fileName);
}
}

async function setChance(version, chance) {
for (const bucket of s3buckets) {
for (const bucket of s3Buckets) {
await actualSetChance(bucket, version, chance);
}
}

async function uploadS3File(name, filePath) {
for (const bucket of s3buckets) {
for (const bucket of s3Buckets) {
await actualUploadS3File(bucket, name, filepath);
}
}
Expand Down

0 comments on commit 57feee0

Please sign in to comment.