Skip to content

[CLI] fluvio update should update fluvio-channel #2221

@tjtelan

Description

@tjtelan

The only way to update fluvio-channel is to reinstall via install.sh script

Here's a small snippet of the script downloading fluvio-channel and installing it in my home dir as /home/telant/.fluvio/bin/fluvio

$ cat install.sh | bash
fluvio: ⏳ Downloading Fluvio 0.9.20 for x86_64-unknown-linux-musl...
fluvio: ⬇️  Downloaded Fluvio, installing...
fluvio: ✅ Successfully installed /home/telant/.fluvio/bin/fluvio-stable
fluvio: ⏳ Downloading Fluvio channel frontend 0.9.20 for x86_64-unknown-linux-musl...
fluvio: ✅ Successfully installed /home/telant/.fluvio/bin/fluvio
[...]

Here's the output for fluvio update. No where in the output do we report updating the Fluvio channel frontend at /home/telant/.fluvio/bin/fluvio

$ fluvio update
Current channel: stable
🎣 Fetching latest version for fluvio...
⏳ Downloading Fluvio CLI with latest version: 0.9.20...
🔑 Downloaded and verified package file
✅ Successfully updated /home/telant/.fluvio/bin/fluvio-stable
🔧 Preparing update for 3 plugins:
   - fluvio-cloud (/home/telant/.fluvio/extensions/fluvio-cloud)
   - fluvio-package (/home/telant/.fluvio/extensions/fluvio-package)
   - fluvio-run (/home/telant/.fluvio/extensions/fluvio-run)
⏳ Downloading plugin fluvio-cloud with version 0.1.6
🔑 Downloaded and verified package file
✅ Successfully updated fluvio/fluvio-cloud:0.1.6 at (/home/telant/.fluvio/extensions/fluvio-cloud)
⏳ Downloading plugin fluvio-package with version 0.1.9
🔑 Downloaded and verified package file
✅ Successfully updated fluvio/fluvio-package:0.1.9 at (/home/telant/.fluvio/extensions/fluvio-package)
⏳ Downloading plugin fluvio-run with version 0.9.20
🔑 Downloaded and verified package file
✅ Successfully updated fluvio/fluvio-run:0.9.20 at (/home/telant/.fluvio/extensions/fluvio-run)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions