From a0c83803e897b187b44cdaf23da2d7023f31deb0 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Tue, 18 Jun 2024 10:09:29 -0700 Subject: [PATCH] Fix release regex for publish-release workflow (#45043) Summary: The existing regex is not workign. I've split it in two and tested it against a private repo. ## Changelog: [INTERNAL] - Fix release regex for publish-release workflow Pull Request resolved: https://github.com/facebook/react-native/pull/45043 Test Plan: Tested on privare repo with GHA Reviewed By: cipolleschi Differential Revision: D58736292 Pulled By: cortinico fbshipit-source-id: f07ef32dcb0059922100c555f7894bbf0c7dd8f6 --- .github/workflows/publish-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 051aef4038e..af1f66a8f6a 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -1,9 +1,9 @@ -name: Publish release - +name: Publish Release on: push: tags: - - "v0.[0-9]+.[0-9]+(-*)?" # This should match v0.X.Y and v0.X.Y-RC.0 + - "v0.*.*" # This should match v0.X.Y + - "v0.*.*-rc.*" # This should match v0.X.Y-RC.0 jobs: set_release_type: runs-on: ubuntu-latest