diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 46d4b142e..d78513c43 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -137,7 +137,7 @@ jobs: run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && ("${{ github.event.action }}" == "published" || "${{ github.event.action }}" == "prereleased") ]]; then git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep origin/develop/main + git branch --remote --contains | grep origin/main else git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep origin/${BRANCH_NAME}