mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user