releases: Add build number to Nightly builds (#42990)
- **Remove semantic_version crate and use semver instead** - **Update upload-nightly** Release Notes: - N/A --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
This commit is contained in:
co-authored by
Conrad Irwin
parent
a0fa5d57c1
commit
2d55c088cc
@@ -22,7 +22,7 @@ use futures::{
|
||||
};
|
||||
use gpui::{
|
||||
App, AppContext as _, AsyncApp, BackgroundExecutor, BorrowAppContext, Context, Entity,
|
||||
EventEmitter, FutureExt, Global, SemanticVersion, Task, WeakEntity,
|
||||
EventEmitter, FutureExt, Global, Task, WeakEntity,
|
||||
};
|
||||
use parking_lot::Mutex;
|
||||
|
||||
@@ -31,6 +31,7 @@ use rpc::{
|
||||
AnyProtoClient, ErrorExt, ProtoClient, ProtoMessageHandlerSet, RpcError,
|
||||
proto::{self, Envelope, EnvelopedMessage, PeerId, RequestMessage, build_typed_envelope},
|
||||
};
|
||||
use semver::Version;
|
||||
use std::{
|
||||
collections::VecDeque,
|
||||
fmt,
|
||||
@@ -71,14 +72,14 @@ pub trait RemoteClientDelegate: Send + Sync {
|
||||
&self,
|
||||
platform: RemotePlatform,
|
||||
release_channel: ReleaseChannel,
|
||||
version: Option<SemanticVersion>,
|
||||
version: Option<Version>,
|
||||
cx: &mut AsyncApp,
|
||||
) -> Task<Result<Option<String>>>;
|
||||
fn download_server_binary_locally(
|
||||
&self,
|
||||
platform: RemotePlatform,
|
||||
release_channel: ReleaseChannel,
|
||||
version: Option<SemanticVersion>,
|
||||
version: Option<Version>,
|
||||
cx: &mut AsyncApp,
|
||||
) -> Task<Result<PathBuf>>;
|
||||
fn set_status(&self, status: Option<&str>, cx: &mut AsyncApp);
|
||||
@@ -1506,9 +1507,10 @@ mod fake {
|
||||
},
|
||||
select_biased,
|
||||
};
|
||||
use gpui::{App, AppContext as _, AsyncApp, SemanticVersion, Task, TestAppContext};
|
||||
use gpui::{App, AppContext as _, AsyncApp, Task, TestAppContext};
|
||||
use release_channel::ReleaseChannel;
|
||||
use rpc::proto::Envelope;
|
||||
use semver::Version;
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
use util::paths::{PathStyle, RemotePathBuf};
|
||||
|
||||
@@ -1663,7 +1665,7 @@ mod fake {
|
||||
&self,
|
||||
_: RemotePlatform,
|
||||
_: ReleaseChannel,
|
||||
_: Option<SemanticVersion>,
|
||||
_: Option<Version>,
|
||||
_: &mut AsyncApp,
|
||||
) -> Task<Result<PathBuf>> {
|
||||
unreachable!()
|
||||
@@ -1673,7 +1675,7 @@ mod fake {
|
||||
&self,
|
||||
_platform: RemotePlatform,
|
||||
_release_channel: ReleaseChannel,
|
||||
_version: Option<SemanticVersion>,
|
||||
_version: Option<Version>,
|
||||
_cx: &mut AsyncApp,
|
||||
) -> Task<Result<Option<String>>> {
|
||||
unreachable!()
|
||||
|
||||
Reference in New Issue
Block a user