Flutter-Bounty-Hunters / static_shock

A static site generator for Dart.
MIT License
58 stars 5 forks source link

[CLI] - `shock version` mis-reports the version #101

Closed matthew-carroll closed 2 months ago

matthew-carroll commented 2 months ago

When I run shock version I get the following:

Your current version of static_shock_cli is: 0.0.2
Checking for newer versions of static_shock_cli on Pub...
A new version is available: 0.0.2 -> 0.0.3

This message remains the same even if I deactivate and reactivate the CLI package. It also happens when I activate a local source path version.

matthew-carroll commented 2 months ago

It looks like the problem is that our local version comes from a code generated file, and I forgot to regenerate that file for v0.0.3, so everything thinks its v0.0.2.