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

bugfix(cli): change process of finding specified binary releases #2309

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

neogopher
Copy link
Contributor

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves ENG-5127

Please provide a short message that should be published in the vcluster release notes
Fixed an issue where vcluster upgrade command would fail for older releases

Copy link

netlify bot commented Dec 3, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit ed3c336
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6750497be1433c000806cb37

@neogopher neogopher force-pushed the fix-upgrade-command branch from 5eb2db9 to 53dd439 Compare December 3, 2024 15:06
@neogopher neogopher marked this pull request as ready for review December 3, 2024 15:37
@neogopher neogopher requested a review from a team December 3, 2024 15:37
Comment on lines 19 to 21
func fetchReleaseByTag(owner, repo, tag string) (*github.RepositoryRelease, error) {
var (
ctx = context.Background()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
func fetchReleaseByTag(owner, repo, tag string) (*github.RepositoryRelease, error) {
var (
ctx = context.Background()
func fetchReleaseByTag(ctx context.Context, owner, repo, tag string) (*github.RepositoryRelease, error) {
var (

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@FabianKramm FabianKramm closed this Dec 4, 2024
@FabianKramm FabianKramm reopened this Dec 4, 2024
@neogopher neogopher force-pushed the fix-upgrade-command branch from 53dd439 to ed3c336 Compare December 4, 2024 12:22
@neogopher neogopher requested a review from ThomasK33 December 4, 2024 12:52
@neogopher neogopher added backport-to-v0.20 backport this PR to v0.20 branch backport-to-v0.21 labels Dec 4, 2024
@neogopher neogopher requested a review from a team December 4, 2024 13:33
@ThomasK33 ThomasK33 merged commit d636659 into loft-sh:main Dec 4, 2024
63 checks passed
@loft-bot
Copy link

loft-bot commented Dec 4, 2024

💚 All backports created successfully

Status Branch Result
v0.20
v0.21

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

ThomasK33 added a commit that referenced this pull request Dec 6, 2024
[v0.20] Merge pull request #2309 from neogopher/fix-upgrade-command
ThomasK33 added a commit that referenced this pull request Dec 6, 2024
[v0.21] Merge pull request #2309 from neogopher/fix-upgrade-command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v0.20 backport this PR to v0.20 branch backport-to-v0.21
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants