wasmerio / wasmer

🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
https://wasmer.io
MIT License
18.28k stars 775 forks source link

CLI: "deploy/publish" commands should not ask to bump version if tag already exists #4801

Closed theduke closed 4 days ago

theduke commented 1 month ago

Currently, when running wasmer deploy with an unchanged named package, the CLI will:

If the package already has a version matching the package hash, the "ask to bump" step should be skipped, and the matching version should be used.

There should potentially be a warning/confirm step if the version number in wasmer.toml does not match the auto-determined version.

theduke commented 1 month ago

Relevant backend query:

{
  getPackageVersionByHash ()
}