xtask: Fix inverted conditions
This commit is contained in:
parent
e5388254bb
commit
222c57ff8a
@ -96,10 +96,10 @@ impl Package {
|
||||
..self.version.clone()
|
||||
};
|
||||
|
||||
let update = if !changelog.starts_with(&format!("# {}\n", version)) {
|
||||
let update = if changelog.starts_with(&format!("# {}\n", version)) {
|
||||
false
|
||||
} else if changelog.starts_with(&format!("# {} (unreleased)\n", version))
|
||||
|| !changelog.starts_with("# [unreleased]\n")
|
||||
|| changelog.starts_with("# [unreleased]\n")
|
||||
{
|
||||
update
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user