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 9f42604 commit e4c6951Copy full SHA for e4c6951
crates/common/build.rs
@@ -30,6 +30,8 @@ fn main() -> Result<(), Box<dyn Error>> {
30
.unwrap_or_else(|_| String::from("dev"));
31
let (is_nightly, version_suffix) = if tag_name.contains("nightly") {
32
(true, "-nightly".to_string())
33
+ } else if let Some((_, rc_number)) = tag_name.split_once("rc") {
34
+ (false, format!("-rc{rc_number}"))
35
} else {
36
(false, format!("-{tag_name}"))
37
};
0 commit comments