Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] latest download URL is not working #1433

Closed
2 tasks done
Praveencompro opened this issue May 17, 2024 · 7 comments · Fixed by #1440 or #1443
Closed
2 tasks done

[BUG] latest download URL is not working #1433

Praveencompro opened this issue May 17, 2024 · 7 comments · Fixed by #1440 or #1443
Labels
area/ci-cd Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. bug Something isn't working good first issue Good for newcomers

Comments

@Praveencompro
Copy link

Praveencompro commented May 17, 2024

Description

In one of our github actions, we were downloading the Debian package and then installing it.
For downloading the latest package we were using the URL https://github.com/asyncapi/cli/releases/latest/download/asyncapi.deb.
This URL was previously working but it's not working now.
Now, it's downloading a file with text "Not Found", refer attached image.

Expected behavior

The URL https://github.com/asyncapi/cli/releases/latest/download/asyncapi.deb should download the latest package.

Screenshots

image

How to Reproduce

  1. Run the below command in bash and then check the file content.
    curl -OL https://github.com/asyncapi/cli/releases/latest/download/asyncapi.deb

🥦 Browser

None

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

@Praveencompro Praveencompro added the bug Something isn't working label May 17, 2024
@github-project-automation github-project-automation bot moved this to Backlog in CLI - Kanban May 17, 2024
Copy link
Contributor

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@Amzani Amzani moved this from Backlog to Ready in CLI - Kanban May 17, 2024
@Amzani
Copy link
Collaborator

Amzani commented May 17, 2024

Somehow the release job failed https://github.com/asyncapi/cli/actions/runs/9091771147/job/24987034747

> @asyncapi/cli@1.15.0 pack:windows
> oclif pack win && npm run pack:rename

 »   Warning: oclif update available from 4.5.0 to 4.10.11.
oclif: gathering workspace for asyncapi to D:\a\cli\cli\tmp\asyncapi
    Error: Command failed: tar -xzf 
    "D:\a\cli\cli\tmp\asyncapi\asyncapi-cli-1.15.0.tgz"
    tar (child): Cannot connect to D: resolve failed

    gzip: stdin: unexpected end of file
    tar: Child returned status 128
    tar: Error is not recoverable: exiting now

    Code: 2
Error: Process completed with exit code 1

The Windows job is failing preventing other steps from running.

@asyncapi asyncapi deleted a comment from asyncapi-bot May 17, 2024
@Amzani
Copy link
Collaborator

Amzani commented May 17, 2024

/gfi ci-cd

@asyncapi-bot asyncapi-bot added area/ci-cd Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. good first issue Good for newcomers labels May 17, 2024
@Shurtu-gal
Copy link
Collaborator

Could get these to open again as well :-

oclif/oclif#1175

@Amzani
Copy link
Collaborator

Amzani commented May 21, 2024

This can help as well
oclif/oclif#145 (comment)

@KhudaDad414
Copy link
Member

KhudaDad414 commented May 21, 2024

This can help as well oclif/oclif#145 (comment)

just changing the windows-latest to ubuntu-latest should resolve the issue based on that comment.

Or maybe we should just drop the windows from the matrix and build both Windows and Linux executables on Linux.

@Amzani
Copy link
Collaborator

Amzani commented May 22, 2024

Not solved yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci-cd Specify what technical area given issue relates to. Its goal is to ease filtering good first issues. bug Something isn't working good first issue Good for newcomers
Projects
Archived in project
5 participants