Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/rn-build-hermes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion npm/hermes-compiler/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading