cycloid-cli icon indicating copy to clipboard operation
cycloid-cli copied to clipboard

Move the repo versioning to semver

Open kerak19 opened this issue 1 year ago • 1 comments

At this moment this package is based on the Cycloid's Backend releases and matches the version. It causes us problems, because Go versioning is based on semver. It's not possible to fetch selected CLI version as a package, as Go expects every major version to be kept in a separate directory, i.e.:

go get github.com/cycloidio/[email protected]
go: github.com/cycloidio/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/cycloidio/cycloid-cli/v5")

kerak19 avatar Jul 16 '24 07:07 kerak19

This issue will be ecapsulated in a better version management for the CLI and its middleware.

It is linked to the terraform provider so we should be cautious

fhacloid avatar Dec 10 '24 10:12 fhacloid