Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

static_shock_cli shows old version number #175

Open
JostSchenck opened this issue Sep 4, 2024 · 0 comments
Open

static_shock_cli shows old version number #175

JostSchenck opened this issue Sep 4, 2024 · 0 comments

Comments

@JostSchenck
Copy link

I installed static_shock_cli with dart pub global activate static_shock_cli. Now, every time shock is called, it reports

New version of static_shock_cli is available: 0.0.8 -> 0.0.9
Run `shock upgrade` to upgrade to the latest version.

But when I call shock upgrade, the result is:

Checking for newer versions of static_shock_cli...
New version of static_shock_cli is available: 0.0.8 -> 0.0.9
Updating your static_shock_cli package to version 0.0.9...
Done upgrading static_shock_cli. Your current version is 0.0.8.

Note the last line. It still reports the version as being 0.0.8, and next time I call it, it will again recommend an upgrade.

It seems that upgrade worked but static_shock_cli/lib/src/version.dart was not updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant