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

fix: adjust downloads to align with new package names introduced #11

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

stephan-breitrainer
Copy link

@stephan-breitrainer stephan-breitrainer commented Oct 15, 2024

A new schema to name the packages for the gitlab-cli tool was introduced in https://gitlab.com/gitlab-org/cli/-/merge_requests/1701, and this MR makes sure to download the correct archive.

Fixes #10

@mhagnumdw
Copy link

Hi! Will this work for versions <= v1.46.1?

@stephan-breitrainer
Copy link
Author

@mhagnumdw it's not backwards compatible, but I could spend an extra cycle to make sure it is.

@mhagnumdw
Copy link

You can add a condition based on the version.

@stephan-breitrainer
Copy link
Author

@mhagnumdw I made some changes, so if you could test the newer version, I'd really appreciate it.

@mhagnumdw
Copy link

mhagnumdw commented Oct 22, 2024

@stephan-breitrainer, I switched to pre and post v1.46.1 versions and everything is fine

Linux Fedora 40 x86_64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to update to glab version 1.47.0
2 participants