We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1b4b4 commit fb4f93dCopy full SHA for fb4f93d
.github/workflows/scripts/edit-cargo-toml-version.py
@@ -20,7 +20,7 @@ def append_label_to_cargo_toml_version(cargo_toml_path, label: str, dry_run: boo
20
print("No package section (probably a workspace file), skipping this Cargo.toml")
21
return
22
23
- new_version = f"{cargo_toml['package']['version'].split('-', 1)[0]}-{label}"
+ new_version = f"{cargo_toml['package']['version'].split('+', 1)[0]}+{label}"
24
print(f"{cargo_toml_path} new version: {new_version}")
25
26
if not dry_run:
0 commit comments