remote: Do not include prerelease and build meta in asset queries (#43611)

Closes #43580

Release Notes:

- (Preview only) Fixed failures to fetch remoting server (needed to run
remoting).
This commit is contained in:
Piotr Osiewicz
2025-11-26 23:55:11 +00:00
committed by GitHub
parent 8c355b5eee
commit 82b768258f
+3 -1
View File
@@ -510,7 +510,9 @@ impl AutoUpdater {
(None, None, None)
};
let version = if let Some(version) = version {
let version = if let Some(mut version) = version {
version.pre = semver::Prerelease::EMPTY;
version.build = semver::BuildMetadata::EMPTY;
version.to_string()
} else {
"latest".to_string()