From 218f3b46e4e6d3fd02c75aec4a9710d5f44416f5 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Fri, 5 Jul 2024 20:44:00 +0200 Subject: [PATCH] Update grep pattern in release branch check Changed the grep pattern from 'main' to 'origin/patch/3.2.x' in the release workflow. This ensures the script correctly identifies the relevant branch during the release process. --- .github/workflows/packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index bae203a0e..22012b2dd 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -50,7 +50,7 @@ jobs: run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && "${{ github.event.action }}" == "published" ]]; then git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep main + git branch --remote --contains | grep origin/patch/3.2.x else git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep origin/${BRANCH_NAME}