apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

[BUG]: Updating via cli from dev version is broken #80

Closed w4bremer closed 1 year ago

w4bremer commented 1 year ago

Description of the bug

Updating from an installed cli dev version does not suggest updating to the latest release. Probably there is a bug in the algorithm identifying the latest release?

Steps To Reproduce

  1. have a dev version installed
  2. try to update it via the cli update command $ apigear update 23:11:59 INF check for updates: apigear-io/cli New release 0.9.0 available. See https://github.com/apigear-io/cli/releases/tag/v0.9.0. do you want to update? [y/N]: No

Additional Information

No response

jryannel commented 1 year ago

Not sure, for me cli delivers v0.28.3 which is the latest version.

See

➜  cli git:(jr-readonly-properties) task build
task: [build] go build -o ./bin/apigear ./cmd/apigear
➜  cli git:(jr-readonly-properties) ./bin/apigear update
15:43:43 INF check for updates: apigear-io/cli
New release 0.28.3 available.
See https://github.com/apigear-io/cli/releases/tag/v0.28.3.
do you want to update? [y/N]: Yes
updating to 0.28.3

Can you re-check?

jryannel commented 1 year ago

Seems to be working