Skip to content

Commit beb2c71

Browse files
committed
Prefix Hermes V1 version with hermes-v for Maven Central lookup
The Maven Central artifact version uses the hermes-v prefix (e.g. hermes-v250829098.0.10), but the version.properties file stores the raw version number. Add the prefix when constructing the HERMES_VERSION env var so the prebuild script finds the artifact.
1 parent 3ada278 commit beb2c71

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/prebuild-ios-core.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
HERMES_VERSION=$(sed -n 's/^HERMES_V1_VERSION_NAME=//p' packages/react-native/sdks/hermes-engine/version.properties)
4646
if [ "$HERMES_VERSION" == "1000.0.0" ]; then
4747
HERMES_VERSION="latest-v1"
48+
else
49+
HERMES_VERSION="hermes-v${HERMES_VERSION}"
4850
fi
4951
echo "Using Hermes version: $HERMES_VERSION"
5052
echo "HERMES_VERSION=$HERMES_VERSION" >> $GITHUB_ENV

0 commit comments

Comments
 (0)