Skip to content

Commit

Permalink
fix(terraform): fix issue where earliest available version was instal…
Browse files Browse the repository at this point in the history
…led instead of latest
  • Loading branch information
jclicodes committed Oct 8, 2022
1 parent 7456924 commit 9f03446
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion terraform/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function getAllReleases(request) {
});
}

const allVersions = Object.keys(releases.versions);
// Releases are listed chronologically, we want the latest first.
const allVersions = Object.keys(releases.versions).reverse();

allVersions.forEach(function (version) {
getBuildsForVersion(version);
});
Expand Down

0 comments on commit 9f03446

Please sign in to comment.