Skip to content

Commit

Permalink
Print filtered releases
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario committed May 16, 2024
1 parent 737a75c commit 249864f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/flytectl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function getDownloadURL(version: string): Promise<string | Error> {
);
// Filter out releases for which the tags do not have the prefix `flytectl/`
const filteredReleases = releases.filter((release) => release.tag_name.startsWith('flytectl/'));
console.log(`Filtered releases: ${filteredReleases}`);
switch (version) {
case 'latest':
for (const asset of filteredReleases[0].assets) {
Expand Down

0 comments on commit 249864f

Please sign in to comment.