这是indexloc提供的服务,不要输入任何密码
Skip to content

Dirty directory error (same as #103) #189

@drmorr0

Description

@drmorr0

I am having the same issue as in #103 -- when I run cargo ws publish --publish-as-is on my repo, most of the crates publish fine, but on the second-to-last one it complains that Cargo.toml has changes and it can't publish:

> cargo ws publish --publish-as-is
error: config value `http.cainfo` is not set
info already published sk-api v2.3.0
info already published sk-core v2.3.0
info already published sk-store v2.3.0
info already published skctl v2.3.0
info already published sk-ctrl v2.3.0
warn removing dev-deps since some refer to workspace members with versions sk-driver v2.3.0
    Updating crates.io index
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
error: 1 files in the working directory contain changes that were not yet committed into git:

Cargo.toml

to proceed despite this and include the uncommitted changes, pass the `--allow-dirty` flag
error: unable to publish package sk-driver
> git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions