Skip to content

Commit

Permalink
[ENG-14644][eas-cli] make "No remote versions are configured" message…
Browse files Browse the repository at this point in the history
… green instead of yellow (expo#2805)

* [eas-cli] make "No remote versions are configured" message green instead of yellow

* add changelog
  • Loading branch information
szdziedzic authored Jan 10, 2025
1 parent 86c8ac0 commit 6461a78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This is the log of notable changes to EAS CLI and related packages.
### 🧹 Chores

- Make automatic env resolution message shorter. ([#2806](https://github.com/expo/eas-cli/pull/2806) by [@szdziedzic](https://github.com/szdziedzic))
- Make "No remote versions are configured" message green instead of yellow. ([#2805](https://github.com/expo/eas-cli/pull/2805) by [@szdziedzic](https://github.com/szdziedzic))

## [14.4.0](https://github.com/expo/eas-cli/releases/tag/v14.4.0) - 2025-01-09

Expand Down
6 changes: 4 additions & 2 deletions packages/eas-cli/src/build/android/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ export async function resolveRemoteVersionCodeAsync(
currentBuildVersion = remoteVersions.buildVersion;
} else {
if (localVersions.appBuildVersion) {
Log.warn(
'No remote versions are configured for this project, versionCode will be initialized based on the value from the local project.'
Log.log(
chalk.green(
'No remote versions are configured for this project, versionCode will be initialized based on the value from the local project.'
)
);
currentBuildVersion = localVersions.appBuildVersion;
} else {
Expand Down
6 changes: 4 additions & 2 deletions packages/eas-cli/src/build/ios/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,10 @@ export async function resolveRemoteBuildNumberAsync(
currentBuildVersion = remoteVersions.buildVersion;
} else {
if (localBuildNumber) {
Log.warn(
'No remote versions are configured for this project, buildNumber will be initialized based on the value from the local project.'
Log.log(
chalk.green(
'No remote versions are configured for this project, buildNumber will be initialized based on the value from the local project.'
)
);
currentBuildVersion = localBuildNumber;
} else {
Expand Down

0 comments on commit 6461a78

Please sign in to comment.