confluentinc / cli

CLI for Confluent Cloud and Confluent Platform
https://docs.confluent.io/confluent-cli/current/overview.html
Other
56 stars 10 forks source link

Update packaging script #2858

Closed sgagniere closed 3 months ago

sgagniere commented 3 months ago

Release Notes

Breaking Changes

New Features

Bug Fixes

Checklist

What

The binary packaged with Platform should have the update command disabled, because each release of Confluent Platform has a fixed CLI version. Even if customers do want to upgrade it, they should do so through package managers.

We upload archives, but not binaries, with updates disabled. This PR corrects a bug that tries to pull the binary by instead pulling the archive and extracting the binary from it.

References

Test & Review

I tested the updated for loop locally on my machine.