Skip to content

Commit

Permalink
[eas-build-job] add fingerprint hash to metadata (#457)
Browse files Browse the repository at this point in the history
* Temporary Commit at 10/29/2024, 6:01:23 PM

* Temporary Commit at 10/29/2024, 6:11:30 PM
  • Loading branch information
quinlanj authored Oct 30, 2024
1 parent 2e622c7 commit b4addd8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/eas-build-job/src/__tests__/metadata.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const validMetadata: Metadata = {
appVersion: '1.0.0',
appBuildVersion: '123',
runtimeVersion: '3.2.1',
fingerprintHash: '752e99d2b8fde1bf07ebb8af1b4a3c26a6703943',
cliVersion: '1.2.3',
buildProfile: 'release',
credentialsSource: 'remote',
Expand Down
6 changes: 6 additions & 0 deletions packages/eas-build-job/src/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export type Metadata = {
*/
runtimeVersion?: string;

/**
* Fingerprint hash of a project's native dependencies
*/
fingerprintHash?: string;

/**
* The location of the fingerprint file if one exists
*/
Expand Down Expand Up @@ -220,6 +225,7 @@ export const MetadataSchema = Joi.object({
credentialsSource: Joi.string().valid('local', 'remote'),
sdkVersion: Joi.string(),
runtimeVersion: Joi.string(),
fingerprintHash: Joi.string(),
fingerprintSource: FingerprintSourceSchema,
reactNativeVersion: Joi.string(),
channel: Joi.string(),
Expand Down

0 comments on commit b4addd8

Please sign in to comment.