Skip to content

Commit d307f23

Browse files
authored
[ENG-12120][eas-cli] make multi-select for revoking distribution certificates more readable (#2342)
* [eas-cli] make multi-select for revoking distribution certificates more readable * update CHANGELOG.md
1 parent 9eeaee5 commit d307f23

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This is the log of notable changes to EAS CLI and related packages.
1313
### 🧹 Chores
1414

1515
- Update the list of available Android images. ([#2337](https://github.com/expo/eas-cli/pull/2337) by [@radoslawkrzemien](https://github.com/radoslawkrzemien))
16+
- Make multi-select for revoking distribution certificates more readable. ([#2342](https://github.com/expo/eas-cli/pull/2342) by [@szdziedzic](https://github.com/szdziedzic))
1617
- Improve error message displayed when EAS CLI version doesn't satisfy minimal version required specified in eas.json. ([#2341](https://github.com/expo/eas-cli/pull/2341) by [@szdziedzic](https://github.com/szdziedzic))
1718

1819
## [7.8.3](https://github.com/expo/eas-cli/releases/tag/v7.8.3) - 2024-04-23

packages/eas-cli/src/credentials/ios/actions/DistributionCertificateUtils.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ function formatDistributionCertificateFromApple(
259259
const { name, status, id, expires, created, ownerName, serialNumber } = appleInfo;
260260
const expiresDate = new Date(expires * 1000).toDateString();
261261
const createdDate = new Date(created * 1000).toDateString();
262-
return `${name} (${status}) - Cert ID: ${id}, Serial number: ${serialNumber}, Team ID: ${appleInfo.ownerId}, Team name: ${ownerName}
263-
expires: ${expiresDate}, created: ${createdDate}`;
262+
return [
263+
`🍏 ${chalk.bold(name)} (${status})`,
264+
`${chalk.bold('ID:')} ${id} ${chalk.bold('Serial Number:')} ${serialNumber}`,
265+
`${chalk.bold('Apple Team:')} ${appleInfo.ownerId} (${ownerName})`,
266+
`${chalk.bold('Expires:')} ${expiresDate} ${chalk.bold('Created:')} ${createdDate}`,
267+
].join('\n\t');
264268
}

0 commit comments

Comments
 (0)