Skip to content

Commit e6563da

Browse files
author
Dmitry Rykun
committed
Add Check Hermes version section to with_hermes_tarball_cache_span
1 parent ed895c5 commit e6563da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,15 @@ commands:
322322
323323
echo "Found Hermes tarball at $TARBALL_PATH"
324324
echo "export HERMES_ENGINE_TARBALL_PATH=$TARBALL_PATH" >> $BASH_ENV
325+
- run:
326+
name: Print Hermes version
327+
command: |
328+
HERMES_TARBALL_ARTIFACTS_DIR=<< parameters.hermes_tarball_artifacts_dir >>
329+
TARBALL_FILENAME=$(node ~/react-native/scripts/hermes/get-tarball-name.js --buildType "<< parameters.flavor >>")
330+
TARBALL_PATH=$HERMES_TARBALL_ARTIFACTS_DIR/$TARBALL_FILENAME
331+
echo 'print(HermesInternal?.getRuntimeProperties?.()["OSS Release Version"])' > test.js
332+
./$TARBALL_PATH/destroot/bin/hermes test.js
333+
rm test.js
325334
- steps: << parameters.steps >>
326335
- when:
327336
condition:

0 commit comments

Comments
 (0)