From 27f95f99cc334266c8eb31391b2a3fce37a0dc11 Mon Sep 17 00:00:00 2001 From: GouravSna <38206744+GouravSna@users.noreply.github.com> Date: Thu, 22 Sep 2022 13:43:41 +0530 Subject: [PATCH] Update tag-build.yml Updated the regex for branch push --- .github/workflows/tag-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tag-build.yml b/.github/workflows/tag-build.yml index ad89a5238..33e233bb7 100644 --- a/.github/workflows/tag-build.yml +++ b/.github/workflows/tag-build.yml @@ -3,7 +3,7 @@ name: Tag and publish on: push: branches: - - '[0-9]+_[0-9]+_[0-9]+' + - '^([0-9]+_[0-9]+_[0-9]+|[0-9]+_[0-9]+_[0-9]+_[0-9]+)?$' env: NEXUS_USERNAME: ${{ secrets.OSSRH_USERNAME }}