ZenVoich / mops

Package manager for the Motoko programming language
https://mops.one
MIT License
36 stars 3 forks source link

Bumping a package version isn't reflected in the main site or CLI #164

Closed ByronBecker closed 8 months ago

ByronBecker commented 10 months ago

I recently made a change to stableheapbtreemap and tried to bump the package version through mops (to mirror github tag)

Result:

% mops bump minor 0.3.3
Current version: 1.3.0
Updated version: 1.4.0

However, the main site still shows 1.3.0 as the current version, and the search command shows this too.

% mops search btree

NAME               | DESCRIPTION                                                                                  | VERSION | UPDATED   
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
stableheapbtreemap | An imperative BTreeMap that can persist across upgrades via a stable variable in heap memory | 1.3.0   | 2023-05-29
rxmodb             | RxMoDb is a Motoko Database using Vector for its main storage and BTree for indexes          | 0.1.4   | 2023-07-08

Am I correctly bumping the package version, or is there a different way to sync this with mops?

Also, as an aside I'd like to be able to override the version automatically assigned by mops.

ByronBecker commented 10 months ago

Thanks for making mops btw! It gets better and better as more packages and features are being added!

ZenVoich commented 9 months ago

Am I correctly bumping the package version, or is there a different way to sync this with mops?

'mops bump' only changes version in mops.toml file, you also need to run 'mops publish' to publish it to mops.

Also, as an aside I'd like to be able to override the version automatically assigned by mops.

Version that is assigned on 'mops init'? Which version do you prefer?