You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running cargo publish without having run cargo login results in a complete clean build happening, after which it complains that the login token isn't present.
Once you've logged in, running publish again results in yet another clean build.
Cargo should abort immediately if you attempt to publish and aren't logged in
Steps
cargo logout
cargo publish
Wait for build to finish
Observe the error message:
Finished dev [unoptimized + debuginfo] target(s) in 2m 25s
Uploading swagger v3.0.0
error: no upload token found, please run `cargo login`
Possible Solution(s)
Check for a token before running the build
Notes
Output of cargo version: cargo 1.34.0 (6789d8a0a 2019-04-01)
The text was updated successfully, but these errors were encountered:
Problem
Running
cargo publish
without having runcargo login
results in a complete clean build happening, after which it complains that the login token isn't present.Once you've logged in, running publish again results in yet another clean build.
Cargo should abort immediately if you attempt to publish and aren't logged in
Steps
cargo logout
cargo publish
Possible Solution(s)
Notes
Output of
cargo version
:cargo 1.34.0 (6789d8a0a 2019-04-01)
The text was updated successfully, but these errors were encountered: