Fix publish-release regex (#44921)

Summary:
The publish_release job is broken due to the initial regex. This change would like to fix it

## Changelog:
[Internal] - Fix publish_release job

Pull Request resolved: https://github.com/facebook/react-native/pull/44921

Test Plan:
Test on PR

<img width="1028" alt="Screenshot 2024-06-13 at 08 51 59" src="https://github.com/facebook/react-native/assets/11162307/0f68be41-a820-454e-9aca-99b2178984cd">

Reviewed By: huntie

Differential Revision: D58513441

Pulled By: cipolleschi

fbshipit-source-id: 55d632e111c4057431c5c607330571af2848534e
This commit is contained in:
Riccardo Cipolleschi
2024-06-13 03:24:40 -07:00
committed by Facebook GitHub Bot
parent b19bf2b6d7
commit 9fe9f032e6
+1 -2
View File
@@ -3,8 +3,7 @@ name: Publish release
on:
push:
tags:
- "v0\.[0-9]+\.[0-9]+([-]\S+)?" # This should match v0.X.Y, v0.X.Y-rc.0
- "v0.[0-9]+.[0-9]+(-*)?" # This should match v0.X.Y and v0.X.Y-RC.0
jobs:
set_release_type:
runs-on: ubuntu-latest