-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
I'm trying to push a totally new set of crates to crates.io and I expected this action to push them forward even if they were never published before, but this action apparently assumes that they are already there? See a bit of the linked action log output below:
/cc @mmalenic
Run MarcoIeni/release-plz-action@main
/usr/bin/docker run --name dc62bd37cb5467bb7551575a1f54582_e24c03 --label 290506 --workdir /github/workspace --rm -e "GITHUB_TOKEN" -e "CARGO_REGISTRY_TOKEN" -e "INPUT_COMMAND" -e "INPUT_REGISTRY" -e "INPUT_UPDATE_DEPENDENCIES" -e "INPUT_NO_CHANGELOG" -e "INPUT_PROJECT_MANIFEST" -e "INPUT_CHANGELOG_CONFIG" -e "INPUT_ARGS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/htsget-rs/htsget-rs":"/github/workspace" 290506:6dc62bd37cb5467bb7551575a1f54582
2023-01-05T04:41:18.473327Z INFO downloading packages from cargo registry
in download_packages with packages=["htsget-config", "htsget-http-actix", "htsget-http-core", "htsget-search", "htsget-test-utils", "htsget-http-lambda"] directory="/tmp/.tmp8nkg27" registry=None
in next_versions with input=UpdateRequest { local_manifest: "/tmp/.tmpgl608m/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) }
in update with input=UpdateRequest { local_manifest: "/tmp/.tmpgl608m/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) }
in release_pr with input=ReleasePrRequest { git: Github(GitHub { owner: "umccr", repo: "htsget-rs", token: Secret([REDACTED alloc::string::String]), base_url: None }), update_request: UpdateRequest { local_manifest: "/github/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) } }
note: Cloning into "/tmp/.tmp8nkg27/htsget-config"
Updating crates.io index
note: Cloning into "/tmp/.tmp8nkg27/htsget-http-actix"
note: Cloning into "/tmp/.tmp8nkg27/htsget-http-core"
note: Cloning into "/tmp/.tmp8nkg27/htsget-search"
note: Cloning into "/tmp/.tmp8nkg27/htsget-test-utils"
note: Cloning into "/tmp/.tmp8nkg27/htsget-http-lambda"
2023-01-05T04:41:39.033526Z WARN can't download htsget-config: Package `htsget-config@*.*.*` not found
in download_packages with packages=["htsget-config", "htsget-http-actix", "htsget-http-core", "htsget-search", "htsget-test-utils", "htsget-http-lambda"] directory="/tmp/.tmp8nkg27" registry=None
in next_versions with input=UpdateRequest { local_manifest: "/tmp/.tmpgl608m/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) }
in update with input=UpdateRequest { local_manifest: "/tmp/.tmpgl608m/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) }
in release_pr with input=ReleasePrRequest { git: Github(GitHub { owner: "umccr", repo: "htsget-rs", token: Secret([REDACTED alloc::string::String]), base_url: None }), update_request: UpdateRequest { local_manifest: "/github/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) } }
2023-01-05T04:41:39.034398Z WARN can't download htsget-http-actix: Package `htsget-http-actix@*.*.*` not found
in download_packages with packages=["htsget-config", "htsget-http-actix", "htsget-http-core", "htsget-search", "htsget-test-utils", "htsget-http-lambda"] directory="/tmp/.tmp8nkg27" registry=None
in next_versions with input=UpdateRequest { local_manifest: "/tmp/.tmpgl608m/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) }
in update with input=UpdateRequest { local_manifest: "/tmp/.tmpgl608m/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) }
in release_pr with input=ReleasePrRequest { git: Github(GitHub { owner: "umccr", repo: "htsget-rs", token: Secret([REDACTED alloc::string::String]), base_url: None }), update_request: UpdateRequest { local_manifest: "/github/workspace/Cargo.toml", registry_manifest: None, single_package: None, changelog_req: Some(ChangelogRequest { release_date: None, changelog_config: None }), registry: None, update_dependencies: false, allow_dirty: false, github_repo: Some(RepoUrl { scheme: "https", host: "github.com", port: None, owner: "umccr", name: "htsget-rs" }) } }
(...)
Would it be possible (reasonable?) to have the automatic publishing of non-existing crates as default behavior?
Metadata
Metadata
Assignees
Labels
No labels