Skip to content

Commit 1eda772

Browse files
committed
Fix invalid version rc
Fixes #3477
1 parent bf3969b commit 1eda772

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/constants.ts

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export const APK_EXTENSION_NAME = ".apk";
4141
export class PackageVersion {
4242
static NEXT = "next";
4343
static LATEST = "latest";
44+
static RC = "rc";
4445
}
4546

4647
const liveSyncOperation = "LiveSync Operation";

lib/services/android-project-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
712712
}
713713
}
714714

715-
if (platformVersion === constants.PackageVersion.NEXT || platformVersion === constants.PackageVersion.LATEST) {
715+
if (platformVersion === constants.PackageVersion.NEXT || platformVersion === constants.PackageVersion.LATEST || platformVersion === constants.PackageVersion.RC) {
716716
return true;
717717
}
718718

0 commit comments

Comments
 (0)