mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
UpdateService: fix wrong changelog when updating from 3.2.0-dev to 3.2.0-git
This commit is contained in:
@@ -124,6 +124,12 @@ Singleton {
|
||||
from = from.replace(root.developmentSuffix, "");
|
||||
to = to.replace(root.developmentSuffix, "");
|
||||
|
||||
// 'from' always need to be before 'to'
|
||||
// handle edge case that will show up as we changed -dev to -git
|
||||
if (from === to) {
|
||||
from = "v3.0.0";
|
||||
}
|
||||
|
||||
Logger.d("UpdateService", "Fetching upgrade log", "from:", from, "to:", to);
|
||||
|
||||
const url = `${upgradeLogBaseUrl}/${from}/${to}`;
|
||||
|
||||
Reference in New Issue
Block a user