shalb / cluster.dev

Cloud-native infrastructure templating. Creating cloud installers for SaaS. Replication of complex cloud-native infrastructures.
https://docs.cluster.dev/
GNU Affero General Public License v3.0
401 stars 36 forks source link

Version check of `cdev` binary #255

Closed kinseii closed 4 months ago

kinseii commented 4 months ago

Problem: When I run the cdev plan, an error occurs:

$ cdev plan
15:18:43 [INFO] Checking for newer releases...
15:18:44 [WARN] Version check: the new cdev version is available. Current version: '0.9.0', latest stable release: 'v0.9.2'. Visit https://docs.cluster.dev/installation-upgrade/ to upgrade.

Even though I have version 0.9.2 installed, the version check says I'm using version 0.9.0:

$ whereis cdev
cdev: /home/kinsei/.local/bin/cdev
$ cdev --version
cdev version v0.9.2
build timestamp: 2024-03-11T12:21:50+0000
kinseii commented 4 months ago

I saw today that a new version was released and installed it 0.9.3. However, now another error occurs:

[INFO] Version check: check failed: Invalid Semantic Version, current version:

The cdev --version command shows nothing at all: image

voatsap commented 4 months ago

This is fixed. We have updated within the same 0.9.3 versuion, please re-download the client.

kinseii commented 4 months ago

Checked, it works! Thanx a lot!