Git Product home page Git Product logo

Comments (6)

andscoop avatar andscoop commented on May 30, 2024 1

Yeah I think we should do that - goreleaser gives us that ability when we're ready. We'll just need to detect if it was installed via homebrew and offer an alternative upgrade cmd output.

from astro-cli.

andscoop avatar andscoop commented on May 30, 2024

Instead of a separate command, we should check for the latest version against the github api and compare that to the version that is installed. If cli is out of date we should prompt user with the install script cmd to upgrade.

Github api call for astro-cli latest

from astro-cli.

tedmiston avatar tedmiston commented on May 30, 2024

What do you think about optionally distributing it as a Homebrew package? Then people could just do a standard upgrade that way.

from astro-cli.

schnie avatar schnie commented on May 30, 2024

astro upgrade sounds good to me

from astro-cli.

andscoop avatar andscoop commented on May 30, 2024

MVP for this will be

astro upgrade which checks current version against the github latest version and spits out the install command (curl -sL https://install.astronomer.io | sudo bash ) if github latest is greater giving the user the option to upgrade.

from astro-cli.

andscoop avatar andscoop commented on May 30, 2024

Completed in v0.3.0

from astro-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.