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

the CLI doesn't take --dry-run into account when tagging #4788

Open
ayys opened this issue Jun 3, 2024 · 0 comments
Open

the CLI doesn't take --dry-run into account when tagging #4788

ayys opened this issue Jun 3, 2024 · 0 comments
Assignees

Comments

@ayys
Copy link
Member

ayys commented Jun 3, 2024

I am getting this output when running cargo wasix on https://github.com/wasmerio/pirita repo.
I suspect the issue is that wasmer package tag does not take into account the flag --dry-run.

2024-06-03T12:29:50.695914Z  INFO publish: cargo_wasmer::publish: Getting ready to publish dry_run=true pkg="wapm-to-w
ebc"
✔ Correctly built package locally                                                                                     
✔ Skipping push as dry-run is set                                                                                     
2024-06-03T12:30:03.259461Z  WARN ThreadId(01) wasmer_cli::commands::package::push: Unable to invalidate the cache use
d for package version queries error=No such file or directory (os error 2)


The package with the required hash does not exist in the selected registry.
HINT: you are running `wasmer publish` with `--dry-run` set.

error: Can't tag, no matching package found in the registry.
Error: Unable to publish "wapm-to-webc"

Caused by:
    The wasmer CLI exited unsuccessfully with exit code 1

Minimal example

  1. create an empty dir with this wasmer.toml
[dependencies]
"wasmer/static-web-server" = "^1"
  1. run wasmer publish it
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

2 participants