orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Client self-updater / out-of-date notification #53

Open tjtelan opened 6 years ago

tjtelan commented 6 years ago

It would be convenient if the Ocelot client could update itself (or at least inform the user) based on new releases available here on Github. Not exactly sure how this should be implemented...

tjtelan commented 6 years ago

Terraform does not perform the update, but informs the user that they are at least out of date. This is probably an acceptable solution

$ terraform version
Terraform v0.11.7

Your version of Terraform is out of date! The latest version
is 0.11.8. You can update by downloading from www.terraform.io/downloads.html
eccramer commented 5 years ago

Note: We can achieve this by doing an HTTP request against https://raw.githubusercontent.com/level11consulting/orbitalci/CURRENT_CLI_VERSION or something to that effect.