Skip to content

Inform user when a new version of Clarinet is available #2276

@hugo-stacks

Description

@hugo-stacks

When a developer uses the Clarinet CLI, it should periodically check if it's using the latest Clarinet version.

It can be done by fetching the latest release on github

curl -s https://api.github.com/repos/stx-labs/clarinet/releases/latest | jq -r '.tag_name'

I think there is one edge case: when a release is created on github, it can take a few minutes (or an hour) to be available everywhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions