diff --git a/.github/workflows/rn-build-hermes.yml b/.github/workflows/rn-build-hermes.yml index a1b60d9797e..f66bb240a29 100644 --- a/.github/workflows/rn-build-hermes.yml +++ b/.github/workflows/rn-build-hermes.yml @@ -14,10 +14,13 @@ on: pull_request: branches: - static_h + - '*-stable' + - '*-staging' push: branches: - - 250829098.0.0-stable - static_h + - '*-stable' + - '*-staging' permissions: contents: read @@ -56,9 +59,11 @@ jobs: GHA_NPM_TOKEN: ${{ secrets.GHA_NPM_TOKEN }} - id: set_release_type run: | - # Guard: never allow release mode on static_h branch - if [[ $REF == "refs/heads/static_h" ]]; then - echo "Branch is static_h, forcing dry-run mode" + # Guard: never allow release mode on non-releasing branches: + # static_h and any branch whose name ends in `-staging`, even via + # workflow_dispatch. + if [[ $REF == "refs/heads/static_h" || $REF == refs/heads/*-staging ]]; then + echo "Branch is a non-releasing branch, forcing dry-run mode" echo "RELEASE_TYPE=dry-run" >> $GITHUB_OUTPUT elif [[ $EVENT_NAME == "workflow_dispatch" ]]; then echo "Setting release type to ${{ github.event.inputs.release-type }}" diff --git a/npm/hermes-compiler/package.json b/npm/hermes-compiler/package.json index 76e968b2308..e3055ef89aa 100644 --- a/npm/hermes-compiler/package.json +++ b/npm/hermes-compiler/package.json @@ -1,6 +1,6 @@ { "name": "hermes-compiler", - "version": "250829098.0.0", + "version": "260318099.0.0", "private": false, "description": "The hermes compiler CLI used during the React Native build process", "license": "MIT",