{"record":{"id":"910255d116a90f83","repo":"astral-sh/uv","slug":"bump-post-cannot-be-used-with-another-bump","errorCode":null,"errorMessage":"`--bump post` cannot be used with another `--bump` value, got: {components}","messagePattern":"`--bump post` cannot be used with another `--bump` value, got: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/uv/src/commands/project/version.rs","lineNumber":234,"sourceCode":"            let components = bump\n                .iter()\n                .map(ToString::to_string)\n                .collect::<Vec<_>>()\n                .join(\", \");\n            return Err(anyhow!(\n                \"`--bump stable` cannot be used with another `--bump` value, got: {components}\"\n            ));\n        }\n\n        // Very little reason to \"bump to post\" and then do other things,\n        // how is it a post-release otherwise?\n        if post_count > 0 && bump.len() > 1 {\n            let components = bump\n                .iter()\n                .map(ToString::to_string)\n                .collect::<Vec<_>>()\n                .join(\", \");\n            return Err(anyhow!(\n                \"`--bump post` cannot be used with another `--bump` value, got: {components}\"\n            ));\n        }\n\n        // `--bump major --bump minor` makes perfect sense (1.2.3 => 2.1.0)\n        // ...but it's weird and probably a mistake?\n        // `--bump major --bump major` perfect sense (1.2.3 => 3.0.0)\n        // ...but it's weird and probably a mistake?\n        if release_components.len() > 1 {\n            let components = release_components\n                .iter()\n                .map(ToString::to_string)\n                .collect::<Vec<_>>()\n                .join(\", \");\n            return Err(anyhow!(\n                \"Only one release version component can be provided to `--bump`, got: {components}\"\n            ));\n        }","sourceCodeStart":216,"sourceCodeEnd":252,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv/src/commands/project/version.rs#L216-L252","documentation":"Error \"`--bump post` cannot be used with another `--bump` value, got: {components}\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv/src/commands/project/version.rs:234 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f1a42680ff5272232d65748acf338b19778dde24","analyzedAt":"2026-08-16T04:51:47.599Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}