Skip to content

Commit 3fc6963

Browse files
cortinicofacebook-github-bot
authored andcommitted
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: #45043 Test Plan: Tested on privare repo with GHA Reviewed By: cipolleschi Differential Revision: D58736292 Pulled By: cortinico fbshipit-source-id: f07ef32dcb0059922100c555f7894bbf0c7dd8f6
1 parent e0fcf29 commit 3fc6963

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Publish release
2-
1+
name: Publish Release
32
on:
43
push:
54
tags:
6-
- "v0.[0-9]+.[0-9]+(-*)?" # This should match v0.X.Y and v0.X.Y-RC.0
5+
- "v0.*.*" # This should match v0.X.Y
6+
- "v0.*.*-rc.*" # This should match v0.X.Y-RC.0
77
jobs:
88
set_release_type:
99
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)